pub struct UpdateMessageUnreadReactions {
pub chat_id: i64,
pub message_id: i64,
pub unread_reactions: Vec<UnreadReaction>,
pub unread_reaction_count: i32,
}
Expand description
The list of unread reactions added to a message was changed
Fields§
§chat_id: i64
Chat identifier
message_id: i64
Message identifier
unread_reactions: Vec<UnreadReaction>
The new list of unread reactions
unread_reaction_count: i32
The new number of messages with unread reactions left in the chat
Trait Implementations§
Source§impl Clone for UpdateMessageUnreadReactions
impl Clone for UpdateMessageUnreadReactions
Source§fn clone(&self) -> UpdateMessageUnreadReactions
fn clone(&self) -> UpdateMessageUnreadReactions
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 UpdateMessageUnreadReactions
impl Debug for UpdateMessageUnreadReactions
Source§impl Default for UpdateMessageUnreadReactions
impl Default for UpdateMessageUnreadReactions
Source§fn default() -> UpdateMessageUnreadReactions
fn default() -> UpdateMessageUnreadReactions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateMessageUnreadReactions
impl<'de> Deserialize<'de> for UpdateMessageUnreadReactions
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 UpdateMessageUnreadReactions
impl PartialEq for UpdateMessageUnreadReactions
Source§fn eq(&self, other: &UpdateMessageUnreadReactions) -> bool
fn eq(&self, other: &UpdateMessageUnreadReactions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateMessageUnreadReactions
Auto Trait Implementations§
impl Freeze for UpdateMessageUnreadReactions
impl RefUnwindSafe for UpdateMessageUnreadReactions
impl Send for UpdateMessageUnreadReactions
impl Sync for UpdateMessageUnreadReactions
impl Unpin for UpdateMessageUnreadReactions
impl UnwindSafe for UpdateMessageUnreadReactions
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