pub struct InputMediaStory {
pub peer: InputPeer,
pub id: i32,
}Expand description
Fields§
§peer: InputPeer§id: i32Trait Implementations§
Source§impl Clone for InputMediaStory
impl Clone for InputMediaStory
Source§fn clone(&self) -> InputMediaStory
fn clone(&self) -> InputMediaStory
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 InputMediaStory
impl Debug for InputMediaStory
Source§impl Deserializable for InputMediaStory
impl Deserializable for InputMediaStory
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<InputMediaStory> for InputMedia
impl From<InputMediaStory> for InputMedia
Source§fn from(x: InputMediaStory) -> Self
fn from(x: InputMediaStory) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputMediaStory
impl Identifiable for InputMediaStory
Source§const CONSTRUCTOR_ID: u32 = 0x89fdd778
const CONSTRUCTOR_ID: u32 = 0x89fdd778
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputMediaStory
impl PartialEq for InputMediaStory
Source§impl Serializable for InputMediaStory
impl Serializable for InputMediaStory
Source§impl TryFrom<InputMedia> for InputMediaStory
impl TryFrom<InputMedia> for InputMediaStory
Source§type Error = InputMedia
type Error = InputMedia
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputMediaStory
Auto Trait Implementations§
impl Freeze for InputMediaStory
impl RefUnwindSafe for InputMediaStory
impl Send for InputMediaStory
impl Sync for InputMediaStory
impl Unpin for InputMediaStory
impl UnsafeUnpin for InputMediaStory
impl UnwindSafe for InputMediaStory
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