pub struct CachedEmoji {
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_id: Option<Id<UserMarker>>,
}Fields§
§animated: bool§available: bool§id: Id<EmojiMarker>§managed: bool§name: String§require_colons: bool§roles: Vec<Id<RoleMarker>>§user_id: Option<Id<UserMarker>>Trait Implementations§
Source§impl Clone for CachedEmoji
impl Clone for CachedEmoji
Source§fn clone(&self) -> CachedEmoji
fn clone(&self) -> CachedEmoji
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CachedEmoji
impl Debug for CachedEmoji
Source§impl<'de> Deserialize<'de> for CachedEmoji
impl<'de> Deserialize<'de> for CachedEmoji
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 CachedEmoji
impl From<Emoji> for CachedEmoji
Source§impl PartialEq<Emoji> for CachedEmoji
impl PartialEq<Emoji> for CachedEmoji
Source§impl PartialEq for CachedEmoji
impl PartialEq for CachedEmoji
Source§impl Serialize for CachedEmoji
impl Serialize for CachedEmoji
impl Eq for CachedEmoji
impl StructuralPartialEq for CachedEmoji
Auto Trait Implementations§
impl Freeze for CachedEmoji
impl RefUnwindSafe for CachedEmoji
impl Send for CachedEmoji
impl Sync for CachedEmoji
impl Unpin for CachedEmoji
impl UnwindSafe for CachedEmoji
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