pub struct ToolInventoryOptions {
pub override_dir: Option<VirtualPath>,
pub scoped_backend_dir: bool,
pub version_suffix: Option<String>,
}Expand description
Controls aspects of the tool inventory.
Fields§
§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.
scoped_backend_dir: boolWhen the inventory is backend managed, scope the inventory directory name with the backend as a prefix.
version_suffix: Option<String>Suffix to append to all versions when labeling directories.
Trait Implementations§
Source§impl Clone for ToolInventoryOptions
impl Clone for ToolInventoryOptions
Source§fn clone(&self) -> ToolInventoryOptions
fn clone(&self) -> ToolInventoryOptions
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 ToolInventoryOptions
impl Debug for ToolInventoryOptions
Source§impl Default for ToolInventoryOptions
impl Default for ToolInventoryOptions
Source§fn default() -> ToolInventoryOptions
fn default() -> ToolInventoryOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolInventoryOptionswhere
ToolInventoryOptions: Default,
impl<'de> Deserialize<'de> for ToolInventoryOptionswhere
ToolInventoryOptions: 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 ToolInventoryOptions
impl PartialEq for ToolInventoryOptions
Source§impl Serialize for ToolInventoryOptions
impl Serialize for ToolInventoryOptions
impl StructuralPartialEq for ToolInventoryOptions
Auto Trait Implementations§
impl Freeze for ToolInventoryOptions
impl RefUnwindSafe for ToolInventoryOptions
impl Send for ToolInventoryOptions
impl Sync for ToolInventoryOptions
impl Unpin for ToolInventoryOptions
impl UnwindSafe for ToolInventoryOptions
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