pub struct Version { /* private fields */ }
Expand description
An immutable representation of a version
Implementations
sourceimpl Version
impl Version
sourcepub fn date(&self) -> SystemTime
pub fn date(&self) -> SystemTime
Returns the version creation time.
sourcepub fn difference(&self) -> Difference<'_, u8>
pub fn difference(&self) -> Difference<'_, u8>
Returns the difference of this version from the base version.
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more