pub struct HookInstallPlan {
pub repo_root: PathBuf,
pub hooks_path: PathBuf,
pub uninstall: bool,
pub global_args: String,
}Fields§
§repo_root: PathBuf§hooks_path: PathBuf§uninstall: bool§global_args: StringGlobal CLI flags (--config, --state-dir) preserved into the shims so a
custom-config install keeps using that config at hook runtime. Empty for a
default install (the trailing space is included when non-empty).
Implementations§
Trait Implementations§
Source§impl Clone for HookInstallPlan
impl Clone for HookInstallPlan
Source§fn clone(&self) -> HookInstallPlan
fn clone(&self) -> HookInstallPlan
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 HookInstallPlan
impl Debug for HookInstallPlan
Source§impl Default for HookInstallPlan
impl Default for HookInstallPlan
Source§fn default() -> HookInstallPlan
fn default() -> HookInstallPlan
Returns the “default value” for a type. Read more
impl Eq for HookInstallPlan
Source§impl PartialEq for HookInstallPlan
impl PartialEq for HookInstallPlan
Source§fn eq(&self, other: &HookInstallPlan) -> bool
fn eq(&self, other: &HookInstallPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HookInstallPlan
Auto Trait Implementations§
impl Freeze for HookInstallPlan
impl RefUnwindSafe for HookInstallPlan
impl Send for HookInstallPlan
impl Sync for HookInstallPlan
impl Unpin for HookInstallPlan
impl UnsafeUnpin for HookInstallPlan
impl UnwindSafe for HookInstallPlan
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