Struct repl_rs::HelpContext
source · 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: String
Application name
app_version: String
Application version
app_purpose: String
Application purpose/description
help_entries: Vec<HelpEntry>
List of help entries
Auto Trait Implementations§
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