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