pub struct PendingMount {
pub run: String,
pub synopsis: Option<String>,
}Expand description
A Usage mount: the mounted commands are discovered by running run while
completing, as usage itself does when it resolves a mount.
Fields§
§run: StringCommand executed while completing to print the mounted command names.
synopsis: Option<String>Placeholder shown for the discovered commands, e.g. [TASK] [ARGS]….
Trait Implementations§
Source§impl Clone for PendingMount
impl Clone for PendingMount
Source§fn clone(&self) -> PendingMount
fn clone(&self) -> PendingMount
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 PendingMount
impl Debug for PendingMount
Source§impl Default for PendingMount
impl Default for PendingMount
Source§fn default() -> PendingMount
fn default() -> PendingMount
Returns the “default value” for a type. Read more
impl Eq for PendingMount
Source§impl PartialEq for PendingMount
impl PartialEq for PendingMount
impl StructuralPartialEq for PendingMount
Auto Trait Implementations§
impl Freeze for PendingMount
impl RefUnwindSafe for PendingMount
impl Send for PendingMount
impl Sync for PendingMount
impl Unpin for PendingMount
impl UnsafeUnpin for PendingMount
impl UnwindSafe for PendingMount
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