#[non_exhaustive]pub struct CallbackGame {}Expand description
Placeholder identifying a game callback button.
Telegram documents this as an object with no fields, so it is an empty
braced struct rather than a unit struct — the wire value is {}, and a unit
struct would only deserialize from null.
Trait Implementations§
Source§impl Clone for CallbackGame
impl Clone for CallbackGame
Source§fn clone(&self) -> CallbackGame
fn clone(&self) -> CallbackGame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CallbackGame
impl Debug for CallbackGame
Source§impl Default for CallbackGame
impl Default for CallbackGame
Source§fn default() -> CallbackGame
fn default() -> CallbackGame
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CallbackGame
impl<'de> Deserialize<'de> for CallbackGame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CallbackGame
impl RefUnwindSafe for CallbackGame
impl Send for CallbackGame
impl Sync for CallbackGame
impl Unpin for CallbackGame
impl UnsafeUnpin for CallbackGame
impl UnwindSafe for CallbackGame
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