pub struct ChatStatisticsInteractionInfo {
pub object_type: ChatStatisticsObjectType,
pub view_count: i32,
pub forward_count: i32,
pub reaction_count: i32,
}
Expand description
Contains statistics about interactions with a message sent in the chat or a story sent by the chat
Fields§
§object_type: ChatStatisticsObjectType
Type of the object
view_count: i32
Number of times the object was viewed
forward_count: i32
Number of times the object was forwarded
reaction_count: i32
Number of times reactions were added to the object
Trait Implementations§
Source§impl Clone for ChatStatisticsInteractionInfo
impl Clone for ChatStatisticsInteractionInfo
Source§fn clone(&self) -> ChatStatisticsInteractionInfo
fn clone(&self) -> ChatStatisticsInteractionInfo
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<'de> Deserialize<'de> for ChatStatisticsInteractionInfo
impl<'de> Deserialize<'de> for ChatStatisticsInteractionInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChatStatisticsInteractionInfo
impl PartialEq for ChatStatisticsInteractionInfo
Source§fn eq(&self, other: &ChatStatisticsInteractionInfo) -> bool
fn eq(&self, other: &ChatStatisticsInteractionInfo) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ChatStatisticsInteractionInfo
Auto Trait Implementations§
impl Freeze for ChatStatisticsInteractionInfo
impl RefUnwindSafe for ChatStatisticsInteractionInfo
impl Send for ChatStatisticsInteractionInfo
impl Sync for ChatStatisticsInteractionInfo
impl Unpin for ChatStatisticsInteractionInfo
impl UnwindSafe for ChatStatisticsInteractionInfo
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