pub enum SlashCommandTextResultKind {
Text,
}Expand description
Text result discriminator
Variants§
Text
Trait Implementations§
Source§impl Clone for SlashCommandTextResultKind
impl Clone for SlashCommandTextResultKind
Source§fn clone(&self) -> SlashCommandTextResultKind
fn clone(&self) -> SlashCommandTextResultKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SlashCommandTextResultKind
impl Debug for SlashCommandTextResultKind
Source§impl Default for SlashCommandTextResultKind
impl Default for SlashCommandTextResultKind
Source§fn default() -> SlashCommandTextResultKind
fn default() -> SlashCommandTextResultKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SlashCommandTextResultKind
impl<'de> Deserialize<'de> for SlashCommandTextResultKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SlashCommandTextResultKind
Source§impl PartialEq for SlashCommandTextResultKind
impl PartialEq for SlashCommandTextResultKind
Source§fn eq(&self, other: &SlashCommandTextResultKind) -> bool
fn eq(&self, other: &SlashCommandTextResultKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SlashCommandTextResultKind
Auto Trait Implementations§
impl Freeze for SlashCommandTextResultKind
impl RefUnwindSafe for SlashCommandTextResultKind
impl Send for SlashCommandTextResultKind
impl Sync for SlashCommandTextResultKind
impl Unpin for SlashCommandTextResultKind
impl UnsafeUnpin for SlashCommandTextResultKind
impl UnwindSafe for SlashCommandTextResultKind
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