pub struct VerbHelp {
pub name: &'static str,
pub summary: &'static str,
pub flags: &'static [&'static str],
}Expand description
Documentation metadata for one CLI verb.
Fields§
§name: &'static strThe canonical verb name as spelled on the command line
(e.g. "write-at", "trash-ls").
summary: &'static strA single-line summary shown in fslite help and as the lead line
of fslite help <verb>.
flags: &'static [&'static str]The list of --flag names this verb accepts. Empty for verbs that
take only positional arguments.
Auto Trait Implementations§
impl Freeze for VerbHelp
impl RefUnwindSafe for VerbHelp
impl Send for VerbHelp
impl Sync for VerbHelp
impl Unpin for VerbHelp
impl UnsafeUnpin for VerbHelp
impl UnwindSafe for VerbHelp
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