Struct kal::CommandSpec
source · [−]pub struct CommandSpec {
pub name: &'static str,
pub description: &'static str,
pub options: Vec<CommandOption>,
pub subcommands: Vec<CommandSpec>,
}Fields
name: &'static strdescription: &'static stroptions: Vec<CommandOption>subcommands: Vec<CommandSpec>Trait Implementations
sourceimpl Debug for CommandSpec
impl Debug for CommandSpec
sourceimpl PartialEq<CommandSpec> for CommandSpec
impl PartialEq<CommandSpec> for CommandSpec
sourcefn eq(&self, other: &CommandSpec) -> bool
fn eq(&self, other: &CommandSpec) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for CommandSpec
Auto Trait Implementations
impl RefUnwindSafe for CommandSpec
impl Send for CommandSpec
impl Sync for CommandSpec
impl Unpin for CommandSpec
impl UnwindSafe for CommandSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more