pub struct SemVer {
pub major: i32,
pub minor: i32,
pub patch: i32,
pub extra_field: String,
}
Fields§
§major: i32
Major
minor: i32
Minor
patch: i32
Patch
extra_field: String
extra_field is the anotation like -alpha
Implementations§
Source§impl SemVer
impl SemVer
Trait Implementations§
impl Eq for SemVer
impl StructuralPartialEq for SemVer
Auto Trait Implementations§
impl Freeze for SemVer
impl RefUnwindSafe for SemVer
impl Send for SemVer
impl Sync for SemVer
impl Unpin for SemVer
impl UnwindSafe for SemVer
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