pub struct StoryInfo {
pub story_id: i32,
pub date: i32,
pub is_for_close_friends: bool,
}
Expand description
Contains basic information about a story
Fields§
§story_id: i32
Unique story identifier among stories of the given sender
date: i32
Point in time (Unix timestamp) when the story was published
is_for_close_friends: bool
True, if the story is available only to close friends
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StoryInfo
impl<'de> Deserialize<'de> for StoryInfo
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
impl StructuralPartialEq for StoryInfo
Auto Trait Implementations§
impl Freeze for StoryInfo
impl RefUnwindSafe for StoryInfo
impl Send for StoryInfo
impl Sync for StoryInfo
impl Unpin for StoryInfo
impl UnwindSafe for StoryInfo
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