pub struct StoryReaction {
pub peer_id: Peer,
pub date: i32,
pub reaction: Reaction,
}Expand description
Generated from:
storyReaction#6090d6d5 peer_id:Peer date:int reaction:Reaction = StoryReactionFields§
§peer_id: Peer§date: i32§reaction: ReactionTrait Implementations§
Source§impl Clone for StoryReaction
impl Clone for StoryReaction
Source§fn clone(&self) -> StoryReaction
fn clone(&self) -> StoryReaction
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 StoryReaction
impl Debug for StoryReaction
Source§impl Deserializable for StoryReaction
impl Deserializable for StoryReaction
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<StoryReaction> for StoryReaction
impl From<StoryReaction> for StoryReaction
Source§fn from(x: StoryReaction) -> Self
fn from(x: StoryReaction) -> Self
Converts to this type from the input type.
Source§impl Identifiable for StoryReaction
impl Identifiable for StoryReaction
Source§const CONSTRUCTOR_ID: u32 = 0x6090d6d5
const CONSTRUCTOR_ID: u32 = 0x6090d6d5
The constructor ID as specified in the TL schema.
Source§impl PartialEq for StoryReaction
impl PartialEq for StoryReaction
Source§impl Serializable for StoryReaction
impl Serializable for StoryReaction
Source§impl TryFrom<StoryReaction> for StoryReaction
impl TryFrom<StoryReaction> for StoryReaction
Source§type Error = StoryReaction
type Error = StoryReaction
The type returned in the event of a conversion error.
impl StructuralPartialEq for StoryReaction
Auto Trait Implementations§
impl Freeze for StoryReaction
impl RefUnwindSafe for StoryReaction
impl Send for StoryReaction
impl Sync for StoryReaction
impl Unpin for StoryReaction
impl UnsafeUnpin for StoryReaction
impl UnwindSafe for StoryReaction
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