Struct proto_pdk_api::ToolInventoryMetadata
source · pub struct ToolInventoryMetadata {
pub disable_progress_bars: bool,
pub override_dir: Option<VirtualPath>,
pub version_suffix: Option<String>,
}
Expand description
Controls aspects of the tool inventory.
Fields§
§disable_progress_bars: bool
Disable progress bars when installing or uninstalling tools.
override_dir: Option<VirtualPath>
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<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 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
impl StructuralPartialEq for ToolInventoryMetadata
Auto Trait Implementations§
impl Freeze for ToolInventoryMetadata
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