pub struct MessageReactions {
pub unique: Option<HashMap<String, ClientIdList>>,
pub distinct: Option<HashMap<String, ClientIdList>>,
pub multiple: Option<HashMap<String, ClientIdCounts>>,
}Expand description
MessageReactions : Summary of reactions on a message, grouped by reaction type. Each map is keyed by the reaction name (e.g. an emoji).
Fields§
§unique: Option<HashMap<String, ClientIdList>>§distinct: Option<HashMap<String, ClientIdList>>§multiple: Option<HashMap<String, ClientIdCounts>>Implementations§
Source§impl MessageReactions
impl MessageReactions
Sourcepub fn new() -> MessageReactions
pub fn new() -> MessageReactions
Summary of reactions on a message, grouped by reaction type. Each map is keyed by the reaction name (e.g. an emoji).
Trait Implementations§
Source§impl Clone for MessageReactions
impl Clone for MessageReactions
Source§fn clone(&self) -> MessageReactions
fn clone(&self) -> MessageReactions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MessageReactions
impl Debug for MessageReactions
Source§impl Default for MessageReactions
impl Default for MessageReactions
Source§fn default() -> MessageReactions
fn default() -> MessageReactions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageReactions
impl<'de> Deserialize<'de> for MessageReactions
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 PartialEq for MessageReactions
impl PartialEq for MessageReactions
Source§impl Serialize for MessageReactions
impl Serialize for MessageReactions
impl StructuralPartialEq for MessageReactions
Auto Trait Implementations§
impl Freeze for MessageReactions
impl RefUnwindSafe for MessageReactions
impl Send for MessageReactions
impl Sync for MessageReactions
impl Unpin for MessageReactions
impl UnsafeUnpin for MessageReactions
impl UnwindSafe for MessageReactions
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