pub struct UpdateBotCallbackQuery {
pub query_id: i64,
pub user_id: i64,
pub peer: Peer,
pub msg_id: i32,
pub chat_instance: i64,
pub data: Option<Vec<u8>>,
pub game_short_name: Option<String>,
}Expand description
Generated from:
updateBotCallbackQuery#b9cfc48d flags:# query_id:long user_id:long peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = UpdateFields§
§query_id: i64§user_id: i64§peer: Peer§msg_id: i32§chat_instance: i64§data: Option<Vec<u8>>§game_short_name: Option<String>Trait Implementations§
Source§impl Clone for UpdateBotCallbackQuery
impl Clone for UpdateBotCallbackQuery
Source§fn clone(&self) -> UpdateBotCallbackQuery
fn clone(&self) -> UpdateBotCallbackQuery
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 UpdateBotCallbackQuery
impl Debug for UpdateBotCallbackQuery
Source§impl Deserializable for UpdateBotCallbackQuery
impl Deserializable for UpdateBotCallbackQuery
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<UpdateBotCallbackQuery> for Update
impl From<UpdateBotCallbackQuery> for Update
Source§fn from(x: UpdateBotCallbackQuery) -> Self
fn from(x: UpdateBotCallbackQuery) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateBotCallbackQuery
impl Identifiable for UpdateBotCallbackQuery
Source§const CONSTRUCTOR_ID: u32 = 0xb9cfc48d
const CONSTRUCTOR_ID: u32 = 0xb9cfc48d
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateBotCallbackQuery
impl PartialEq for UpdateBotCallbackQuery
Source§impl TryFrom<Update> for UpdateBotCallbackQuery
impl TryFrom<Update> for UpdateBotCallbackQuery
impl StructuralPartialEq for UpdateBotCallbackQuery
Auto Trait Implementations§
impl Freeze for UpdateBotCallbackQuery
impl RefUnwindSafe for UpdateBotCallbackQuery
impl Send for UpdateBotCallbackQuery
impl Sync for UpdateBotCallbackQuery
impl Unpin for UpdateBotCallbackQuery
impl UnsafeUnpin for UpdateBotCallbackQuery
impl UnwindSafe for UpdateBotCallbackQuery
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