pub struct ChatActiveStories {
pub chat_id: i64,
pub list: Option<StoryList>,
pub order: i64,
pub max_read_story_id: i32,
pub stories: Vec<StoryInfo>,
}Expand description
Describes active stories posted by a chat
Fields§
§chat_id: i64Identifier of the chat that posted the stories
list: Option<StoryList>Identifier of the story list in which the stories are shown; may be null if the stories aren’t shown in a story list
order: i64A parameter used to determine order of the stories in the story list; 0 if the stories doesn’t need to be shown in the story list. Stories must be sorted by the pair (order, story_sender_chat_id) in descending order
max_read_story_id: i32Identifier of the last read active story
stories: Vec<StoryInfo>Basic information about the stories; use getStory to get full information about the stories. The stories are in a chronological order (i.e., in order of increasing story identifiers)
Trait Implementations§
Source§impl Clone for ChatActiveStories
impl Clone for ChatActiveStories
Source§fn clone(&self) -> ChatActiveStories
fn clone(&self) -> ChatActiveStories
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 ChatActiveStories
impl Debug for ChatActiveStories
Source§impl Default for ChatActiveStories
impl Default for ChatActiveStories
Source§fn default() -> ChatActiveStories
fn default() -> ChatActiveStories
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatActiveStories
impl<'de> Deserialize<'de> for ChatActiveStories
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 ChatActiveStories
impl PartialEq for ChatActiveStories
Source§impl Serialize for ChatActiveStories
impl Serialize for ChatActiveStories
impl StructuralPartialEq for ChatActiveStories
Auto Trait Implementations§
impl Freeze for ChatActiveStories
impl RefUnwindSafe for ChatActiveStories
impl Send for ChatActiveStories
impl Sync for ChatActiveStories
impl Unpin for ChatActiveStories
impl UnwindSafe for ChatActiveStories
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