pub struct UnreadReaction {
pub type: ReactionType,
pub sender_id: MessageSender,
pub is_big: bool,
}
Expand description
Contains information about an unread reaction to a message
Fields§
§type: ReactionType
Type of the reaction
sender_id: MessageSender
Identifier of the sender, added the reaction
is_big: bool
True, if the reaction was added with a big animation
Trait Implementations§
Source§impl Clone for UnreadReaction
impl Clone for UnreadReaction
Source§fn clone(&self) -> UnreadReaction
fn clone(&self) -> UnreadReaction
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 UnreadReaction
impl Debug for UnreadReaction
Source§impl<'de> Deserialize<'de> for UnreadReaction
impl<'de> Deserialize<'de> for UnreadReaction
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 UnreadReaction
impl PartialEq for UnreadReaction
Source§impl Serialize for UnreadReaction
impl Serialize for UnreadReaction
impl StructuralPartialEq for UnreadReaction
Auto Trait Implementations§
impl Freeze for UnreadReaction
impl RefUnwindSafe for UnreadReaction
impl Send for UnreadReaction
impl Sync for UnreadReaction
impl Unpin for UnreadReaction
impl UnwindSafe for UnreadReaction
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