pub struct HelpContext {
pub app_name: String,
pub app_version: String,
pub app_purpose: String,
pub help_entries: Vec<HelpEntry>,
}Expand description
Struct which gets sent to HelpViewer when help command is called
Fields§
§app_name: StringApplication name
app_version: StringApplication version
app_purpose: StringApplication purpose/description
help_entries: Vec<HelpEntry>List of help entries
Auto Trait Implementations§
impl Freeze for HelpContext
impl RefUnwindSafe for HelpContext
impl Send for HelpContext
impl Sync for HelpContext
impl Unpin for HelpContext
impl UnwindSafe for HelpContext
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