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