pub struct MessageStory {
pub story_sender_chat_id: i64,
pub story_id: i32,
pub via_mention: bool,
}
Expand description
A message with a forwarded story
Fields§
§story_sender_chat_id: i64
Identifier of the chat that posted the story
story_id: i32
Story identifier
via_mention: bool
True, if the story was automatically forwarded because of a mention of the user
Trait Implementations§
Source§impl Clone for MessageStory
impl Clone for MessageStory
Source§fn clone(&self) -> MessageStory
fn clone(&self) -> MessageStory
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 MessageStory
impl Debug for MessageStory
Source§impl Default for MessageStory
impl Default for MessageStory
Source§fn default() -> MessageStory
fn default() -> MessageStory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageStory
impl<'de> Deserialize<'de> for MessageStory
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 MessageStory
impl PartialEq for MessageStory
Source§impl Serialize for MessageStory
impl Serialize for MessageStory
impl StructuralPartialEq for MessageStory
Auto Trait Implementations§
impl Freeze for MessageStory
impl RefUnwindSafe for MessageStory
impl Send for MessageStory
impl Sync for MessageStory
impl Unpin for MessageStory
impl UnwindSafe for MessageStory
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