pub struct InternalLinkTypeStory {
pub story_sender_username: String,
pub story_id: i32,
}
Expand description
The link is a link to a story. Call searchPublicChat with the given sender username, then call getStory with the received chat identifier and the given story identifier
Fields§
§story_sender_username: String
Username of the sender of the story
story_id: i32
Story identifier
Trait Implementations§
Source§impl Clone for InternalLinkTypeStory
impl Clone for InternalLinkTypeStory
Source§fn clone(&self) -> InternalLinkTypeStory
fn clone(&self) -> InternalLinkTypeStory
Returns a copy 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 InternalLinkTypeStory
impl Debug for InternalLinkTypeStory
Source§impl Default for InternalLinkTypeStory
impl Default for InternalLinkTypeStory
Source§fn default() -> InternalLinkTypeStory
fn default() -> InternalLinkTypeStory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InternalLinkTypeStory
impl<'de> Deserialize<'de> for InternalLinkTypeStory
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 InternalLinkTypeStory
impl PartialEq for InternalLinkTypeStory
Source§impl Serialize for InternalLinkTypeStory
impl Serialize for InternalLinkTypeStory
impl StructuralPartialEq for InternalLinkTypeStory
Auto Trait Implementations§
impl Freeze for InternalLinkTypeStory
impl RefUnwindSafe for InternalLinkTypeStory
impl Send for InternalLinkTypeStory
impl Sync for InternalLinkTypeStory
impl Unpin for InternalLinkTypeStory
impl UnwindSafe for InternalLinkTypeStory
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