pub struct UpdateNewStoryReaction {
pub story_id: i32,
pub peer: Peer,
pub reaction: Reaction,
}Expand description
Generated from:
updateNewStoryReaction#1824e40b story_id:int peer:Peer reaction:Reaction = UpdateFields§
§story_id: i32§peer: Peer§reaction: ReactionTrait Implementations§
Source§impl Clone for UpdateNewStoryReaction
impl Clone for UpdateNewStoryReaction
Source§fn clone(&self) -> UpdateNewStoryReaction
fn clone(&self) -> UpdateNewStoryReaction
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 UpdateNewStoryReaction
impl Debug for UpdateNewStoryReaction
Source§impl Deserializable for UpdateNewStoryReaction
impl Deserializable for UpdateNewStoryReaction
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<UpdateNewStoryReaction> for Update
impl From<UpdateNewStoryReaction> for Update
Source§fn from(x: UpdateNewStoryReaction) -> Self
fn from(x: UpdateNewStoryReaction) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateNewStoryReaction
impl Identifiable for UpdateNewStoryReaction
Source§const CONSTRUCTOR_ID: u32 = 0x1824e40b
const CONSTRUCTOR_ID: u32 = 0x1824e40b
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateNewStoryReaction
impl PartialEq for UpdateNewStoryReaction
Source§impl TryFrom<Update> for UpdateNewStoryReaction
impl TryFrom<Update> for UpdateNewStoryReaction
impl StructuralPartialEq for UpdateNewStoryReaction
Auto Trait Implementations§
impl Freeze for UpdateNewStoryReaction
impl RefUnwindSafe for UpdateNewStoryReaction
impl Send for UpdateNewStoryReaction
impl Sync for UpdateNewStoryReaction
impl Unpin for UpdateNewStoryReaction
impl UnsafeUnpin for UpdateNewStoryReaction
impl UnwindSafe for UpdateNewStoryReaction
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