pub struct ToolDetail {
pub version: String,
pub channel: Option<String>,
pub registry: Option<String>,
pub provider: Option<String>,
pub os: Option<Vec<String>>,
pub optional: Option<bool>,
}Expand description
The inline-table form of a tool entry.
Fields§
§version: String§channel: Option<String>§registry: Option<String>§provider: Option<String>§os: Option<Vec<String>>§optional: Option<bool>Trait Implementations§
Source§impl Clone for ToolDetail
impl Clone for ToolDetail
Source§fn clone(&self) -> ToolDetail
fn clone(&self) -> ToolDetail
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 ToolDetail
impl Debug for ToolDetail
Source§impl<'de> Deserialize<'de> for ToolDetail
impl<'de> Deserialize<'de> for ToolDetail
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 PartialEq for ToolDetail
impl PartialEq for ToolDetail
Source§fn eq(&self, other: &ToolDetail) -> bool
fn eq(&self, other: &ToolDetail) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolDetail
impl Serialize for ToolDetail
impl StructuralPartialEq for ToolDetail
Auto Trait Implementations§
impl Freeze for ToolDetail
impl RefUnwindSafe for ToolDetail
impl Send for ToolDetail
impl Sync for ToolDetail
impl Unpin for ToolDetail
impl UnsafeUnpin for ToolDetail
impl UnwindSafe for ToolDetail
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