[−][src]Struct serenity::model::misc::EmojiIdentifier
A version of an emoji used only when solely the animated state, Id, and name are known.
Fields
animated: bool
Whether the emoji is animated
id: EmojiId
The Id of the emoji.
name: String
The name of the emoji. It must be at least 2 characters long and can only contain alphanumeric characters and underscores.
Implementations
impl EmojiIdentifier
[src]
Trait Implementations
impl Clone for EmojiIdentifier
[src]
pub fn clone(&self) -> EmojiIdentifier
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for EmojiIdentifier
[src]
impl Eq for EmojiIdentifier
[src]
impl From<EmojiIdentifier> for ReactionType
[src]
pub fn from(emoji_id: EmojiIdentifier) -> ReactionType
[src]
impl FromStr for EmojiIdentifier
[src]
type Err = ()
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> StdResult<Self, ()>
[src]
impl Hash for EmojiIdentifier
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for EmojiIdentifier
[src]
pub fn cmp(&self, other: &EmojiIdentifier) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<EmojiIdentifier> for EmojiIdentifier
[src]
pub fn eq(&self, other: &EmojiIdentifier) -> bool
[src]
pub fn ne(&self, other: &EmojiIdentifier) -> bool
[src]
impl PartialOrd<EmojiIdentifier> for EmojiIdentifier
[src]
pub fn partial_cmp(&self, other: &EmojiIdentifier) -> Option<Ordering>
[src]
pub fn lt(&self, other: &EmojiIdentifier) -> bool
[src]
pub fn le(&self, other: &EmojiIdentifier) -> bool
[src]
pub fn gt(&self, other: &EmojiIdentifier) -> bool
[src]
pub fn ge(&self, other: &EmojiIdentifier) -> bool
[src]
impl StructuralEq for EmojiIdentifier
[src]
impl StructuralPartialEq for EmojiIdentifier
[src]
Auto Trait Implementations
impl RefUnwindSafe for EmojiIdentifier
impl Send for EmojiIdentifier
impl Sync for EmojiIdentifier
impl Unpin for EmojiIdentifier
impl UnwindSafe for EmojiIdentifier
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<F> FromStrAndCache for F where
F: FromStr,
[src]
F: FromStr,
type Err = <F as FromStr>::Err
pub fn from_str<'life0, 'async_trait, CRL>(
CRL,
&'life0 str
) -> Pin<Box<dyn Future<Output = Result<F, <F as FromStrAndCache>::Err>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
CRL: AsRef<Cache> + Send + Sync + 'async_trait,
F: 'async_trait,
[src]
CRL,
&'life0 str
) -> Pin<Box<dyn Future<Output = Result<F, <F as FromStrAndCache>::Err>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
CRL: AsRef<Cache> + Send + Sync + 'async_trait,
F: 'async_trait,
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,