pub struct InstallOptions {
pub version: Option<String>,
pub target: Option<String>,
pub prefix: Option<PathBuf>,
pub force: bool,
pub lock_behavior: LockBehavior,
}Fields§
§version: Option<String>Version to fetch. Defaults to the running binary’s version.
target: Option<String>Target triple to fetch. Defaults to the running binary’s build target.
prefix: Option<PathBuf>Directory to drop sidecars into. Defaults to the directory containing the running zccache executable.
force: boolRe-download even if matching sidecars are already present.
lock_behavior: LockBehaviorWhat to do when another zccache process is already mid-install.
Trait Implementations§
Source§impl Clone for InstallOptions
impl Clone for InstallOptions
Source§fn clone(&self) -> InstallOptions
fn clone(&self) -> InstallOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InstallOptions
impl Debug for InstallOptions
Source§impl Default for InstallOptions
impl Default for InstallOptions
Source§fn default() -> InstallOptions
fn default() -> InstallOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InstallOptions
impl RefUnwindSafe for InstallOptions
impl Send for InstallOptions
impl Sync for InstallOptions
impl Unpin for InstallOptions
impl UnsafeUnpin for InstallOptions
impl UnwindSafe for InstallOptions
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