pub struct SlashCommandSpec {
pub name: &'static str,
pub summary: &'static str,
pub argument_hint: Option<&'static str>,
pub resume_supported: bool,
}Fields§
§name: &'static str§summary: &'static str§argument_hint: Option<&'static str>§resume_supported: boolTrait Implementations§
Source§impl Clone for SlashCommandSpec
impl Clone for SlashCommandSpec
Source§fn clone(&self) -> SlashCommandSpec
fn clone(&self) -> SlashCommandSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SlashCommandSpec
impl Debug for SlashCommandSpec
Source§impl PartialEq for SlashCommandSpec
impl PartialEq for SlashCommandSpec
impl Copy for SlashCommandSpec
impl Eq for SlashCommandSpec
impl StructuralPartialEq for SlashCommandSpec
Auto Trait Implementations§
impl Freeze for SlashCommandSpec
impl RefUnwindSafe for SlashCommandSpec
impl Send for SlashCommandSpec
impl Sync for SlashCommandSpec
impl Unpin for SlashCommandSpec
impl UnsafeUnpin for SlashCommandSpec
impl UnwindSafe for SlashCommandSpec
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