pub struct UpdateMessageReactions {
pub peer: Peer,
pub msg_id: i32,
pub top_msg_id: Option<i32>,
pub saved_peer_id: Option<Peer>,
pub reactions: MessageReactions,
}Expand description
Generated from:
updateMessageReactions#1e297bfa flags:# peer:Peer msg_id:int top_msg_id:flags.0?int saved_peer_id:flags.1?Peer reactions:MessageReactions = UpdateFields§
§peer: Peer§msg_id: i32§top_msg_id: Option<i32>§saved_peer_id: Option<Peer>§reactions: MessageReactionsTrait Implementations§
Source§impl Clone for UpdateMessageReactions
impl Clone for UpdateMessageReactions
Source§fn clone(&self) -> UpdateMessageReactions
fn clone(&self) -> UpdateMessageReactions
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 UpdateMessageReactions
impl Debug for UpdateMessageReactions
Source§impl Deserializable for UpdateMessageReactions
impl Deserializable for UpdateMessageReactions
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<UpdateMessageReactions> for Update
impl From<UpdateMessageReactions> for Update
Source§fn from(x: UpdateMessageReactions) -> Self
fn from(x: UpdateMessageReactions) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateMessageReactions
impl Identifiable for UpdateMessageReactions
Source§const CONSTRUCTOR_ID: u32 = 0x1e297bfa
const CONSTRUCTOR_ID: u32 = 0x1e297bfa
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateMessageReactions
impl PartialEq for UpdateMessageReactions
Source§impl TryFrom<Update> for UpdateMessageReactions
impl TryFrom<Update> for UpdateMessageReactions
impl StructuralPartialEq for UpdateMessageReactions
Auto Trait Implementations§
impl Freeze for UpdateMessageReactions
impl RefUnwindSafe for UpdateMessageReactions
impl Send for UpdateMessageReactions
impl Sync for UpdateMessageReactions
impl Unpin for UpdateMessageReactions
impl UnsafeUnpin for UpdateMessageReactions
impl UnwindSafe for UpdateMessageReactions
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