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