pub struct PostInteractionCountersMessage {
pub msg_id: i32,
pub views: i32,
pub forwards: i32,
pub reactions: i32,
}Expand description
postInteractionCountersMessage
Generated from:
postInteractionCountersMessage#e7058e7f msg_id:int views:int forwards:int reactions:int = PostInteractionCountersFields§
§msg_id: i32§views: i32§forwards: i32§reactions: i32Trait Implementations§
Source§impl Clone for PostInteractionCountersMessage
impl Clone for PostInteractionCountersMessage
Source§fn clone(&self) -> PostInteractionCountersMessage
fn clone(&self) -> PostInteractionCountersMessage
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 Deserializable for PostInteractionCountersMessage
impl Deserializable for PostInteractionCountersMessage
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<PostInteractionCountersMessage> for PostInteractionCounters
impl From<PostInteractionCountersMessage> for PostInteractionCounters
Source§fn from(x: PostInteractionCountersMessage) -> Self
fn from(x: PostInteractionCountersMessage) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PostInteractionCountersMessage
impl Identifiable for PostInteractionCountersMessage
Source§const CONSTRUCTOR_ID: u32 = 0xe7058e7f
const CONSTRUCTOR_ID: u32 = 0xe7058e7f
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PostInteractionCountersMessage
impl PartialEq for PostInteractionCountersMessage
Source§fn eq(&self, other: &PostInteractionCountersMessage) -> bool
fn eq(&self, other: &PostInteractionCountersMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<PostInteractionCounters> for PostInteractionCountersMessage
impl TryFrom<PostInteractionCounters> for PostInteractionCountersMessage
Source§type Error = PostInteractionCounters
type Error = PostInteractionCounters
The type returned in the event of a conversion error.
impl StructuralPartialEq for PostInteractionCountersMessage
Auto Trait Implementations§
impl Freeze for PostInteractionCountersMessage
impl RefUnwindSafe for PostInteractionCountersMessage
impl Send for PostInteractionCountersMessage
impl Sync for PostInteractionCountersMessage
impl Unpin for PostInteractionCountersMessage
impl UnsafeUnpin for PostInteractionCountersMessage
impl UnwindSafe for PostInteractionCountersMessage
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