Struct dasi::model::EmojiId [] [src]

pub struct EmojiId(pub u64);

An identifier for an Emoji

Methods

impl EmojiId

fn creation_date(&self) -> Timespec

Get the creation date of the object referred to by this ID.

Discord generates identifiers using a scheme based on Twitter Snowflake.

Trait Implementations

Derived Implementations

impl PartialOrd for EmojiId

fn partial_cmp(&self, __arg_0: &EmojiId) -> Option<Ordering>

fn lt(&self, __arg_0: &EmojiId) -> bool

fn le(&self, __arg_0: &EmojiId) -> bool

fn gt(&self, __arg_0: &EmojiId) -> bool

fn ge(&self, __arg_0: &EmojiId) -> bool

impl Ord for EmojiId

fn cmp(&self, __arg_0: &EmojiId) -> Ordering

impl Debug for EmojiId

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for EmojiId

fn eq(&self, __arg_0: &EmojiId) -> bool

fn ne(&self, __arg_0: &EmojiId) -> bool

impl Eq for EmojiId

impl Hash for EmojiId

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Clone for EmojiId

fn clone(&self) -> EmojiId

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for EmojiId