pub struct UpdateMessageExtendedMedia {
pub peer: Peer,
pub msg_id: i32,
pub extended_media: Vec<MessageExtendedMedia>,
}Expand description
Generated from:
updateMessageExtendedMedia#d5a41724 peer:Peer msg_id:int extended_media:Vector<MessageExtendedMedia> = UpdateFields§
§peer: Peer§msg_id: i32§extended_media: Vec<MessageExtendedMedia>Trait Implementations§
Source§impl Clone for UpdateMessageExtendedMedia
impl Clone for UpdateMessageExtendedMedia
Source§fn clone(&self) -> UpdateMessageExtendedMedia
fn clone(&self) -> UpdateMessageExtendedMedia
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 UpdateMessageExtendedMedia
impl Debug for UpdateMessageExtendedMedia
Source§impl Deserializable for UpdateMessageExtendedMedia
impl Deserializable for UpdateMessageExtendedMedia
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<UpdateMessageExtendedMedia> for Update
impl From<UpdateMessageExtendedMedia> for Update
Source§fn from(x: UpdateMessageExtendedMedia) -> Self
fn from(x: UpdateMessageExtendedMedia) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateMessageExtendedMedia
impl Identifiable for UpdateMessageExtendedMedia
Source§const CONSTRUCTOR_ID: u32 = 0xd5a41724
const CONSTRUCTOR_ID: u32 = 0xd5a41724
The constructor ID as specified in the TL schema.
Source§impl TryFrom<Update> for UpdateMessageExtendedMedia
impl TryFrom<Update> for UpdateMessageExtendedMedia
impl StructuralPartialEq for UpdateMessageExtendedMedia
Auto Trait Implementations§
impl Freeze for UpdateMessageExtendedMedia
impl RefUnwindSafe for UpdateMessageExtendedMedia
impl Send for UpdateMessageExtendedMedia
impl Sync for UpdateMessageExtendedMedia
impl Unpin for UpdateMessageExtendedMedia
impl UnsafeUnpin for UpdateMessageExtendedMedia
impl UnwindSafe for UpdateMessageExtendedMedia
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