pub struct DescribedCommand {
pub name: String,
pub usage: String,
pub terminal: bool,
pub sessionless: bool,
pub help: String,
}Expand description
A plugin’s command, rig <name> <usage>.
Fields§
§name: StringIts name.
usage: StringWhat its arguments are, such as <tool> [path]; may be empty.
terminal: boolWhether it runs on an interactive terminal; otherwise it runs headless, never restarted, its output passed through.
sessionless: boolWhether its runs keep no session.
help: StringWhat it does.
Trait Implementations§
Source§impl Clone for DescribedCommand
impl Clone for DescribedCommand
Source§impl Debug for DescribedCommand
impl Debug for DescribedCommand
impl Eq for DescribedCommand
Source§impl PartialEq for DescribedCommand
impl PartialEq for DescribedCommand
impl StructuralPartialEq for DescribedCommand
Auto Trait Implementations§
impl Freeze for DescribedCommand
impl RefUnwindSafe for DescribedCommand
impl Send for DescribedCommand
impl Sync for DescribedCommand
impl Unpin for DescribedCommand
impl UnsafeUnpin for DescribedCommand
impl UnwindSafe for DescribedCommand
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