pub struct ToolLockOptions {
pub ignore_os_arch: bool,
pub no_record: bool,
}
Expand description
Options related to lockfile integration.
Fields§
§ignore_os_arch: bool
Ignore operating system and architecture values when matching against records in the lockfile.
no_record: bool
Do not record the install in the lockfile.
Trait Implementations§
Source§impl Clone for ToolLockOptions
impl Clone for ToolLockOptions
Source§fn clone(&self) -> ToolLockOptions
fn clone(&self) -> ToolLockOptions
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 ToolLockOptions
impl Debug for ToolLockOptions
Source§impl Default for ToolLockOptions
impl Default for ToolLockOptions
Source§fn default() -> ToolLockOptions
fn default() -> ToolLockOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolLockOptionswhere
ToolLockOptions: Default,
impl<'de> Deserialize<'de> for ToolLockOptionswhere
ToolLockOptions: 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 ToolLockOptions
impl PartialEq for ToolLockOptions
Source§impl Serialize for ToolLockOptions
impl Serialize for ToolLockOptions
impl StructuralPartialEq for ToolLockOptions
Auto Trait Implementations§
impl Freeze for ToolLockOptions
impl RefUnwindSafe for ToolLockOptions
impl Send for ToolLockOptions
impl Sync for ToolLockOptions
impl Unpin for ToolLockOptions
impl UnwindSafe for ToolLockOptions
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