pub struct ProbedVersion {
pub name: String,
pub version: String,
}Expand description
Probe result: what <binary> --version reports.
Fields§
§name: StringThe name token emitted by the binary.
version: StringThe semver token emitted by the binary.
Trait Implementations§
Source§impl Clone for ProbedVersion
impl Clone for ProbedVersion
Source§fn clone(&self) -> ProbedVersion
fn clone(&self) -> ProbedVersion
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 ProbedVersion
impl Debug for ProbedVersion
Source§impl<'de> Deserialize<'de> for ProbedVersion
impl<'de> Deserialize<'de> for ProbedVersion
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProbedVersion, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProbedVersion, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProbedVersion
impl PartialEq for ProbedVersion
Source§fn eq(&self, other: &ProbedVersion) -> bool
fn eq(&self, other: &ProbedVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProbedVersion
impl Serialize for ProbedVersion
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ProbedVersion
impl StructuralPartialEq for ProbedVersion
Auto Trait Implementations§
impl Freeze for ProbedVersion
impl RefUnwindSafe for ProbedVersion
impl Send for ProbedVersion
impl Sync for ProbedVersion
impl Unpin for ProbedVersion
impl UnsafeUnpin for ProbedVersion
impl UnwindSafe for ProbedVersion
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