pub struct HelpEntry {
pub command: String,
pub parameters: Vec<(String, bool)>,
pub summary: Option<String>,
}
Expand description
Help entry which gets sent to HelpViewer when help for a particular command is requested
Fields§
§command: String
Command from help <command>
parameters: Vec<(String, bool)>
Parameters defined for the command
summary: Option<String>
Help summary for the command
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for HelpEntry
impl Send for HelpEntry
impl Sync for HelpEntry
impl Unpin for HelpEntry
impl UnwindSafe for HelpEntry
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