Struct twilight_model::guild::Emoji [−][src]
pub struct Emoji {
pub animated: bool,
pub available: bool,
pub id: EmojiId,
pub managed: bool,
pub name: String,
pub require_colons: bool,
pub roles: Vec<RoleId>,
pub user: Option<User>,
}Fields
animated: boolavailable: boolid: EmojiIdmanaged: boolname: Stringrequire_colons: boolroles: Vec<RoleId>user: Option<User>Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Emoji
impl UnwindSafe for Emoji
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more