pub struct InputMediaAreaChannelPost {
pub coordinates: MediaAreaCoordinates,
pub channel: InputChannel,
pub msg_id: i32,
}Expand description
Generated from:
inputMediaAreaChannelPost#2271f2bf coordinates:MediaAreaCoordinates channel:InputChannel msg_id:int = MediaAreaFields§
§coordinates: MediaAreaCoordinates§channel: InputChannel§msg_id: i32Trait Implementations§
Source§impl Clone for InputMediaAreaChannelPost
impl Clone for InputMediaAreaChannelPost
Source§fn clone(&self) -> InputMediaAreaChannelPost
fn clone(&self) -> InputMediaAreaChannelPost
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 InputMediaAreaChannelPost
impl Debug for InputMediaAreaChannelPost
Source§impl Deserializable for InputMediaAreaChannelPost
impl Deserializable for InputMediaAreaChannelPost
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<InputMediaAreaChannelPost> for MediaArea
impl From<InputMediaAreaChannelPost> for MediaArea
Source§fn from(x: InputMediaAreaChannelPost) -> Self
fn from(x: InputMediaAreaChannelPost) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputMediaAreaChannelPost
impl Identifiable for InputMediaAreaChannelPost
Source§const CONSTRUCTOR_ID: u32 = 0x2271f2bf
const CONSTRUCTOR_ID: u32 = 0x2271f2bf
The constructor ID as specified in the TL schema.
Source§impl TryFrom<MediaArea> for InputMediaAreaChannelPost
impl TryFrom<MediaArea> for InputMediaAreaChannelPost
impl StructuralPartialEq for InputMediaAreaChannelPost
Auto Trait Implementations§
impl Freeze for InputMediaAreaChannelPost
impl RefUnwindSafe for InputMediaAreaChannelPost
impl Send for InputMediaAreaChannelPost
impl Sync for InputMediaAreaChannelPost
impl Unpin for InputMediaAreaChannelPost
impl UnsafeUnpin for InputMediaAreaChannelPost
impl UnwindSafe for InputMediaAreaChannelPost
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