pub struct Closed {
pub root: PathBuf,
pub entry: String,
pub remove: String,
pub install: Option<(String, Policy)>,
}Expand description
A canonical folder or file of an extension entry chest leaves out, which runs with no grant if something else loads it.
Fields§
§root: PathBufThe folder or file.
entry: StringIts entry, as extensions.<name> in <manifest>.
remove: StringThe command that removes the entry.
install: Option<(String, Policy)>For an entry that chest install would load, that command and the
policy the entry would then give.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Closed
impl Freeze for Closed
impl RefUnwindSafe for Closed
impl Send for Closed
impl Sync for Closed
impl Unpin for Closed
impl UnsafeUnpin for Closed
impl UnwindSafe for Closed
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