pub struct ToolVersion(/* private fields */);Expand description
Semantic version of one tool contract.
Implementations§
Trait Implementations§
Source§impl Clone for ToolVersion
impl Clone for ToolVersion
Source§fn clone(&self) -> ToolVersion
fn clone(&self) -> ToolVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ToolVersion
impl Debug for ToolVersion
Source§impl<'de> Deserialize<'de> for ToolVersion
impl<'de> Deserialize<'de> for ToolVersion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ToolVersion
impl Display for ToolVersion
impl Eq for ToolVersion
Source§impl FromStr for ToolVersion
impl FromStr for ToolVersion
Source§impl Hash for ToolVersion
impl Hash for ToolVersion
Source§impl Ord for ToolVersion
impl Ord for ToolVersion
Source§fn cmp(&self, other: &ToolVersion) -> Ordering
fn cmp(&self, other: &ToolVersion) -> Ordering
1.21.0 (const: unstable) · 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 ToolVersion
impl PartialEq for ToolVersion
Source§impl PartialOrd for ToolVersion
impl PartialOrd for ToolVersion
Source§impl Serialize for ToolVersion
impl Serialize for ToolVersion
impl StructuralPartialEq for ToolVersion
Auto Trait Implementations§
impl Freeze for ToolVersion
impl RefUnwindSafe for ToolVersion
impl Send for ToolVersion
impl Sync for ToolVersion
impl Unpin for ToolVersion
impl UnsafeUnpin for ToolVersion
impl UnwindSafe for ToolVersion
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