pub struct VersionPin;Expand description
Implementations§
Source§impl VersionPin
impl VersionPin
Trait Implementations§
Source§impl Clone for VersionPin
impl Clone for VersionPin
Source§fn clone(&self) -> VersionPin
fn clone(&self) -> VersionPin
Returns a duplicate 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 VersionPin
impl Debug for VersionPin
Source§impl Default for VersionPin
impl Default for VersionPin
Source§fn default() -> VersionPin
fn default() -> VersionPin
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VersionPin
impl<'de> Deserialize<'de> for VersionPin
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<VersionPin, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<VersionPin, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for VersionPin
impl Display for VersionPin
Source§impl From<VersionPin> for u64
impl From<VersionPin> for u64
Source§fn from(pin: VersionPin) -> Self
fn from(pin: VersionPin) -> Self
Converts to this type from the input type.
Source§impl Hash for VersionPin
impl Hash for VersionPin
Source§impl Ord for VersionPin
impl Ord for VersionPin
Source§fn cmp(&self, other: &VersionPin) -> Ordering
fn cmp(&self, other: &VersionPin) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VersionPin
impl PartialEq for VersionPin
Source§impl PartialOrd for VersionPin
impl PartialOrd for VersionPin
Source§impl Serialize for VersionPin
impl Serialize for VersionPin
impl Copy for VersionPin
impl Eq for VersionPin
impl StructuralPartialEq for VersionPin
Auto Trait Implementations§
impl Freeze for VersionPin
impl RefUnwindSafe for VersionPin
impl Send for VersionPin
impl Sync for VersionPin
impl Unpin for VersionPin
impl UnwindSafe for VersionPin
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