pub struct UpdateBotMessageReaction {
pub peer: Peer,
pub msg_id: i32,
pub date: i32,
pub actor: Peer,
pub old_reactions: Vec<Reaction>,
pub new_reactions: Vec<Reaction>,
pub qts: i32,
}Expand description
Generated from:
updateBotMessageReaction#ac21d3ce peer:Peer msg_id:int date:int actor:Peer old_reactions:Vector<Reaction> new_reactions:Vector<Reaction> qts:int = UpdateFields§
§peer: Peer§msg_id: i32§date: i32§actor: Peer§old_reactions: Vec<Reaction>§new_reactions: Vec<Reaction>§qts: i32Trait Implementations§
Source§impl Clone for UpdateBotMessageReaction
impl Clone for UpdateBotMessageReaction
Source§fn clone(&self) -> UpdateBotMessageReaction
fn clone(&self) -> UpdateBotMessageReaction
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 UpdateBotMessageReaction
impl Debug for UpdateBotMessageReaction
Source§impl Deserializable for UpdateBotMessageReaction
impl Deserializable for UpdateBotMessageReaction
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<UpdateBotMessageReaction> for Update
impl From<UpdateBotMessageReaction> for Update
Source§fn from(x: UpdateBotMessageReaction) -> Self
fn from(x: UpdateBotMessageReaction) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateBotMessageReaction
impl Identifiable for UpdateBotMessageReaction
Source§const CONSTRUCTOR_ID: u32 = 0xac21d3ce
const CONSTRUCTOR_ID: u32 = 0xac21d3ce
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateBotMessageReaction
impl PartialEq for UpdateBotMessageReaction
Source§impl TryFrom<Update> for UpdateBotMessageReaction
impl TryFrom<Update> for UpdateBotMessageReaction
impl StructuralPartialEq for UpdateBotMessageReaction
Auto Trait Implementations§
impl Freeze for UpdateBotMessageReaction
impl RefUnwindSafe for UpdateBotMessageReaction
impl Send for UpdateBotMessageReaction
impl Sync for UpdateBotMessageReaction
impl Unpin for UpdateBotMessageReaction
impl UnsafeUnpin for UpdateBotMessageReaction
impl UnwindSafe for UpdateBotMessageReaction
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