Struct twilight_model::guild::Emoji
source · [−]pub struct Emoji {
pub animated: bool,
pub available: bool,
pub id: Id<EmojiMarker>,
pub managed: bool,
pub name: String,
pub require_colons: bool,
pub roles: Vec<Id<RoleMarker>>,
pub user: Option<User>,
}Fields
animated: boolavailable: boolid: Id<EmojiMarker>managed: boolname: Stringrequire_colons: boolroles: Vec<Id<RoleMarker>>user: Option<User>Trait Implementations
sourceimpl<'de> Deserialize<'de> for Emoji
impl<'de> Deserialize<'de> for Emoji
sourcefn 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 Emoji
impl StructuralEq for Emoji
impl StructuralPartialEq for Emoji
Auto Trait Implementations
impl RefUnwindSafe for Emoji
impl Send for Emoji
impl Sync for Emoji
impl Unpin for Emoji
impl UnwindSafe for Emoji
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more