pub struct StoryInteractionInfo {
pub view_count: i32,
pub forward_count: i32,
pub reaction_count: i32,
pub recent_viewer_user_ids: Vec<i64>,
}
Expand description
Contains information about interactions with a story
Fields§
§view_count: i32
Number of times the story was viewed
forward_count: i32
Number of times the story was forwarded; 0 if none or unknown
reaction_count: i32
Number of reactions added to the story; 0 if none or unknown
recent_viewer_user_ids: Vec<i64>
Identifiers of at most 3 recent viewers of the story
Trait Implementations§
Source§impl Clone for StoryInteractionInfo
impl Clone for StoryInteractionInfo
Source§fn clone(&self) -> StoryInteractionInfo
fn clone(&self) -> StoryInteractionInfo
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 StoryInteractionInfo
impl Debug for StoryInteractionInfo
Source§impl Default for StoryInteractionInfo
impl Default for StoryInteractionInfo
Source§fn default() -> StoryInteractionInfo
fn default() -> StoryInteractionInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StoryInteractionInfo
impl<'de> Deserialize<'de> for StoryInteractionInfo
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 StoryInteractionInfo
impl PartialEq for StoryInteractionInfo
Source§impl Serialize for StoryInteractionInfo
impl Serialize for StoryInteractionInfo
impl StructuralPartialEq for StoryInteractionInfo
Auto Trait Implementations§
impl Freeze for StoryInteractionInfo
impl RefUnwindSafe for StoryInteractionInfo
impl Send for StoryInteractionInfo
impl Sync for StoryInteractionInfo
impl Unpin for StoryInteractionInfo
impl UnwindSafe for StoryInteractionInfo
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