Struct mozversion::Version
source · pub struct Version {
pub major: u64,
pub minor: u64,
pub patch: u64,
pub pre: Option<(String, u64)>,
pub esr: bool,
}
Expand description
Version number information
Fields§
§major: u64
Major version number (e.g. 55 in 55.0)
minor: u64
Minor version number (e.g. 1 in 55.1)
patch: u64
Patch version number (e.g. 2 in 55.1.2)
pre: Option<(String, u64)>
Prerelase information (e.g. Some((“a”, 1)) in 55.0a1)
esr: bool
Is build an ESR build
Implementations§
Trait Implementations§
Auto Trait Implementations§
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