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: bool
§available: bool
§id: Id<EmojiMarker>
§managed: bool
§name: String
§require_colons: bool
§roles: Vec<Id<RoleMarker>>
§user: Option<User>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Emoji
impl<'de> Deserialize<'de> for Emoji
source§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
source§impl From<Emoji> for OnboardingPromptEmoji
impl From<Emoji> for OnboardingPromptEmoji
source§impl PartialEq<Emoji> for Emoji
impl PartialEq<Emoji> for Emoji
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more