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
impl Eq for Emoji
impl StructuralPartialEq for Emoji
Auto Trait Implementations§
impl Freeze for Emoji
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)