[][src]Struct serenity::model::id::EmojiId

pub struct EmojiId(pub u64);

An identifier for an Emoji

Methods

impl EmojiId[src]

pub fn created_at(&self) -> DateTime<FixedOffset>[src]

Retrieves the time that the Id was created at.

pub fn as_u64(&self) -> &u64[src]

Immutably borrow inner Id.

pub fn as_mut_u64(&mut self) -> &mut u64[src]

Mutably borrow inner Id.

Trait Implementations

impl AsRef<EmojiId> for EmojiId[src]

impl Clone for EmojiId[src]

impl Copy for EmojiId[src]

impl Debug for EmojiId[src]

impl Default for EmojiId[src]

impl<'de> Deserialize<'de> for EmojiId[src]

impl Display for EmojiId[src]

impl Eq for EmojiId[src]

impl<'a> From<&'a Emoji> for EmojiId[src]

fn from(emoji: &Emoji) -> EmojiId[src]

Gets the Id of an Emoji.

impl<'a> From<&'a EmojiId> for EmojiId[src]

impl From<Emoji> for EmojiId[src]

fn from(emoji: Emoji) -> EmojiId[src]

Gets the Id of an Emoji.

impl From<EmojiId> for ReactionType[src]

impl From<EmojiId> for u64[src]

impl From<EmojiId> for i64[src]

impl From<u64> for EmojiId[src]

impl Hash for EmojiId[src]

impl Ord for EmojiId[src]

impl PartialEq<EmojiId> for EmojiId[src]

impl PartialEq<u64> for EmojiId[src]

impl PartialOrd<EmojiId> for EmojiId[src]

impl Serialize for EmojiId[src]

impl StructuralEq for EmojiId[src]

impl StructuralPartialEq for EmojiId[src]

Auto Trait Implementations

impl RefUnwindSafe for EmojiId

impl Send for EmojiId

impl Sync for EmojiId

impl Unpin for EmojiId

impl UnwindSafe for EmojiId

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]

impl<T> DebugAny for T where
    T: Any + Debug
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,