pub struct AnnouncementReaction {
pub name: String,
pub count: u64,
pub me: bool,
pub static_url: Option<String>,
pub url: Option<String>,
}Expand description
Represents a reaction to an announcement.
Fields§
§name: StringThe name of the reaction (emoji).
count: u64The number of times this reaction has been used.
me: boolWhether the current user has added this reaction.
static_url: Option<String>A static URL to the emoji.
url: Option<String>A URL to the emoji.
Trait Implementations§
Source§impl Clone for AnnouncementReaction
impl Clone for AnnouncementReaction
Source§fn clone(&self) -> AnnouncementReaction
fn clone(&self) -> AnnouncementReaction
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 AnnouncementReaction
impl Debug for AnnouncementReaction
Source§impl<'de> Deserialize<'de> for AnnouncementReaction
impl<'de> Deserialize<'de> for AnnouncementReaction
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
Auto Trait Implementations§
impl Freeze for AnnouncementReaction
impl RefUnwindSafe for AnnouncementReaction
impl Send for AnnouncementReaction
impl Sync for AnnouncementReaction
impl Unpin for AnnouncementReaction
impl UnwindSafe for AnnouncementReaction
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