pub struct VersionInt {
major: u64,
minor: u64,
patch: u64,
}
Fields§
§major: u64
§minor: u64
§patch: u64
Trait Implementations§
Source§impl<'__de> BorrowDecode<'__de> for VersionInt
impl<'__de> BorrowDecode<'__de> for VersionInt
Source§fn borrow_decode<__D: BorrowDecoder<'__de>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for VersionInt
impl Clone for VersionInt
Source§fn clone(&self) -> VersionInt
fn clone(&self) -> VersionInt
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VersionInt
impl Debug for VersionInt
Source§impl Decode for VersionInt
impl Decode for VersionInt
Source§impl Display for VersionInt
impl Display for VersionInt
Source§impl Encode for VersionInt
impl Encode for VersionInt
Source§impl From<VersionInt> for Version
impl From<VersionInt> for Version
Source§fn from(v: VersionInt) -> Self
fn from(v: VersionInt) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VersionInt
impl RefUnwindSafe for VersionInt
impl Send for VersionInt
impl Sync for VersionInt
impl Unpin for VersionInt
impl UnwindSafe for VersionInt
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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