pub struct InputMediaGame {
pub id: InputGame,
}Expand description
Fields§
§id: InputGameTrait Implementations§
Source§impl Clone for InputMediaGame
impl Clone for InputMediaGame
Source§fn clone(&self) -> InputMediaGame
fn clone(&self) -> InputMediaGame
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 InputMediaGame
impl Debug for InputMediaGame
Source§impl Deserializable for InputMediaGame
impl Deserializable for InputMediaGame
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<InputMediaGame> for InputMedia
impl From<InputMediaGame> for InputMedia
Source§fn from(x: InputMediaGame) -> Self
fn from(x: InputMediaGame) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputMediaGame
impl Identifiable for InputMediaGame
Source§const CONSTRUCTOR_ID: u32 = 0xd33f43f3
const CONSTRUCTOR_ID: u32 = 0xd33f43f3
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputMediaGame
impl PartialEq for InputMediaGame
Source§impl Serializable for InputMediaGame
impl Serializable for InputMediaGame
Source§impl TryFrom<InputMedia> for InputMediaGame
impl TryFrom<InputMedia> for InputMediaGame
Source§type Error = InputMedia
type Error = InputMedia
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputMediaGame
Auto Trait Implementations§
impl Freeze for InputMediaGame
impl RefUnwindSafe for InputMediaGame
impl Send for InputMediaGame
impl Sync for InputMediaGame
impl Unpin for InputMediaGame
impl UnsafeUnpin for InputMediaGame
impl UnwindSafe for InputMediaGame
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