Struct kal::CommandOption
source · [−]pub struct CommandOption {
pub name: &'static str,
pub description: &'static str,
pub value: CommandOptionValueKind,
}Fields
name: &'static strdescription: &'static strvalue: CommandOptionValueKindTrait Implementations
sourceimpl Debug for CommandOption
impl Debug for CommandOption
sourceimpl PartialEq<CommandOption> for CommandOption
impl PartialEq<CommandOption> for CommandOption
sourcefn eq(&self, other: &CommandOption) -> bool
fn eq(&self, other: &CommandOption) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for CommandOption
Auto Trait Implementations
impl RefUnwindSafe for CommandOption
impl Send for CommandOption
impl Sync for CommandOption
impl Unpin for CommandOption
impl UnwindSafe for CommandOption
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