pub struct ReactionCount {
pub kind: ReactionType,
pub total_count: u32,
}Expand description
Count of a specific reaction type.
Fields§
§kind: ReactionTypeThe reaction type.
total_count: u32Total number of reactions of this type.
Trait Implementations§
Source§impl Clone for ReactionCount
impl Clone for ReactionCount
Source§fn clone(&self) -> ReactionCount
fn clone(&self) -> ReactionCount
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 ReactionCount
impl Debug for ReactionCount
Source§impl<'de> Deserialize<'de> for ReactionCount
impl<'de> Deserialize<'de> for ReactionCount
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 ReactionCount
impl RefUnwindSafe for ReactionCount
impl Send for ReactionCount
impl Sync for ReactionCount
impl Unpin for ReactionCount
impl UnsafeUnpin for ReactionCount
impl UnwindSafe for ReactionCount
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