pub struct ToolDefinition {Show 13 fields
pub display_name: String,
pub config_key: String,
pub description: String,
pub homepage: String,
pub documentation: String,
pub cli_command: String,
pub requires_npm: bool,
pub requires_sudo: bool,
pub status: String,
pub install: InstallCommand,
pub update: InstallCommand,
pub auth: AuthDefinition,
pub features: Option<ToolFeatures>,
}Expand description
Complete tool definition loaded from config files
Fields§
§display_name: String§config_key: String§description: String§homepage: String§documentation: String§cli_command: String§requires_npm: bool§requires_sudo: bool§status: String§install: InstallCommand§update: InstallCommand§auth: AuthDefinition§features: Option<ToolFeatures>Trait Implementations§
Source§impl Clone for ToolDefinition
impl Clone for ToolDefinition
Source§fn clone(&self) -> ToolDefinition
fn clone(&self) -> ToolDefinition
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 ToolDefinition
impl Debug for ToolDefinition
Source§impl<'de> Deserialize<'de> for ToolDefinition
impl<'de> Deserialize<'de> for ToolDefinition
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
Auto Trait Implementations§
impl Freeze for ToolDefinition
impl RefUnwindSafe for ToolDefinition
impl Send for ToolDefinition
impl Sync for ToolDefinition
impl Unpin for ToolDefinition
impl UnwindSafe for ToolDefinition
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