Struct proto_pdk::ToolInventoryMetadata
source · pub struct ToolInventoryMetadata {
pub disable_progress_bars: bool,
pub override_dir: Option<PathBuf>,
pub version_suffix: Option<String>,
}Expand description
Controls aspects of the tool inventory.
Fields§
§disable_progress_bars: boolDisable progress bars when installing or uninstalling tools.
override_dir: Option<PathBuf>Override the tool inventory directory (where all versions are installed). This is an advanced feature and should only be used when absolutely necessary.
version_suffix: Option<String>Suffix to append to all versions when labeling directories.
Trait Implementations§
source§impl Clone for ToolInventoryMetadata
impl Clone for ToolInventoryMetadata
source§fn clone(&self) -> ToolInventoryMetadata
fn clone(&self) -> ToolInventoryMetadata
Returns a copy 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 ToolInventoryMetadata
impl Debug for ToolInventoryMetadata
source§impl Default for ToolInventoryMetadata
impl Default for ToolInventoryMetadata
source§fn default() -> ToolInventoryMetadata
fn default() -> ToolInventoryMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ToolInventoryMetadatawhere
ToolInventoryMetadata: Default,
impl<'de> Deserialize<'de> for ToolInventoryMetadatawhere ToolInventoryMetadata: Default,
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ToolInventoryMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ToolInventoryMetadata, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ToolInventoryMetadata
impl PartialEq for ToolInventoryMetadata
source§fn eq(&self, other: &ToolInventoryMetadata) -> bool
fn eq(&self, other: &ToolInventoryMetadata) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ToolInventoryMetadata
impl Serialize for ToolInventoryMetadata
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 ToolInventoryMetadata
impl StructuralEq for ToolInventoryMetadata
impl StructuralPartialEq for ToolInventoryMetadata
Auto Trait Implementations§
impl RefUnwindSafe for ToolInventoryMetadata
impl Send for ToolInventoryMetadata
impl Sync for ToolInventoryMetadata
impl Unpin for ToolInventoryMetadata
impl UnwindSafe for ToolInventoryMetadata
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more