Struct intelli_shell::model::Command
source · pub struct Command {
pub id: i64,
pub category: String,
pub alias: Option<String>,
pub cmd: String,
pub description: String,
pub usage: u64,
}
Fields§
§id: i64
§category: String
§alias: Option<String>
§cmd: String
§description: String
§usage: u64
Implementations§
Trait Implementations§
source§impl AsLabeledCommand for Command
impl AsLabeledCommand for Command
source§fn as_labeled_command(&self) -> Option<LabeledCommand>
fn as_labeled_command(&self) -> Option<LabeledCommand>
Represents this type as a labeled command, when labels exist. Otherwise None shall be returned.
Auto Trait Implementations§
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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