Struct slashy::commands::ArgumentChoice [−][src]
pub struct ArgumentChoice<T> { pub name: &'static str, pub value: T, }
Expand description
Represents a choice for an argument
Fields
name: &'static str
The name of the choice
value: T
The value of the choice
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for ArgumentChoice<T> where
T: RefUnwindSafe,
impl<T> Send for ArgumentChoice<T> where
T: Send,
impl<T> Sync for ArgumentChoice<T> where
T: Sync,
impl<T> Unpin for ArgumentChoice<T> where
T: Unpin,
impl<T> UnwindSafe for ArgumentChoice<T> where
T: UnwindSafe,