pub struct Version {
pub id: i32,
pub name: String,
pub series: String,
pub snapshot: bool,
}Expand description
A struct storing minecraft version data
Fields§
§id: i32The version id
name: StringThe version name
series: StringThe version series, mostly “main”
snapshot: boolwhether the version is a snapshot or not
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more