pub struct AddedReaction {
pub type: ReactionType,
pub sender_id: MessageSender,
pub is_outgoing: bool,
pub date: i32,
}
Expand description
Represents a reaction applied to a message
Fields§
§type: ReactionType
Type of the reaction
sender_id: MessageSender
Identifier of the chat member, applied the reaction
is_outgoing: bool
True, if the reaction was added by the current user
date: i32
Point in time (Unix timestamp) when the reaction was added
Trait Implementations§
Source§impl Clone for AddedReaction
impl Clone for AddedReaction
Source§fn clone(&self) -> AddedReaction
fn clone(&self) -> AddedReaction
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 AddedReaction
impl Debug for AddedReaction
Source§impl<'de> Deserialize<'de> for AddedReaction
impl<'de> Deserialize<'de> for AddedReaction
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 AddedReaction
impl PartialEq for AddedReaction
Source§impl Serialize for AddedReaction
impl Serialize for AddedReaction
impl StructuralPartialEq for AddedReaction
Auto Trait Implementations§
impl Freeze for AddedReaction
impl RefUnwindSafe for AddedReaction
impl Send for AddedReaction
impl Sync for AddedReaction
impl Unpin for AddedReaction
impl UnwindSafe for AddedReaction
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