pub struct Installed {
pub state: InstalledState,
pub hooks_dir: Option<PathBuf>,
pub shims: Vec<(&'static str, Option<String>)>,
}Expand description
Whether our shims are in a hooks directory, and the binary each bakes.
Fields§
§state: InstalledState§hooks_dir: Option<PathBuf>§shims: Vec<(&'static str, Option<String>)>(hook name, baked binary path) for each shim of ours.
Implementations§
Trait Implementations§
impl Eq for Installed
impl StructuralPartialEq for Installed
Auto Trait Implementations§
impl Forget for Installed
impl Freeze for Installed
impl RefUnwindSafe for Installed
impl Send for Installed
impl Sync for Installed
impl Unpin for Installed
impl UnsafeUnpin for Installed
impl UnwindSafe for Installed
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