pub struct UpdateInlineBotCallbackQuery {
pub query_id: i64,
pub user_id: i64,
pub msg_id: InputBotInlineMessageId,
pub chat_instance: i64,
pub data: Option<Vec<u8>>,
pub game_short_name: Option<String>,
}Expand description
Generated from:
updateInlineBotCallbackQuery#691e9052 flags:# query_id:long user_id:long msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = UpdateFields§
§query_id: i64§user_id: i64§msg_id: InputBotInlineMessageId§chat_instance: i64§data: Option<Vec<u8>>§game_short_name: Option<String>Trait Implementations§
Source§impl Clone for UpdateInlineBotCallbackQuery
impl Clone for UpdateInlineBotCallbackQuery
Source§fn clone(&self) -> UpdateInlineBotCallbackQuery
fn clone(&self) -> UpdateInlineBotCallbackQuery
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 UpdateInlineBotCallbackQuery
impl Debug for UpdateInlineBotCallbackQuery
Source§impl Deserializable for UpdateInlineBotCallbackQuery
impl Deserializable for UpdateInlineBotCallbackQuery
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<UpdateInlineBotCallbackQuery> for Update
impl From<UpdateInlineBotCallbackQuery> for Update
Source§fn from(x: UpdateInlineBotCallbackQuery) -> Self
fn from(x: UpdateInlineBotCallbackQuery) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateInlineBotCallbackQuery
impl Identifiable for UpdateInlineBotCallbackQuery
Source§const CONSTRUCTOR_ID: u32 = 0x691e9052
const CONSTRUCTOR_ID: u32 = 0x691e9052
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateInlineBotCallbackQuery
impl PartialEq for UpdateInlineBotCallbackQuery
Source§fn eq(&self, other: &UpdateInlineBotCallbackQuery) -> bool
fn eq(&self, other: &UpdateInlineBotCallbackQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<Update> for UpdateInlineBotCallbackQuery
impl TryFrom<Update> for UpdateInlineBotCallbackQuery
impl StructuralPartialEq for UpdateInlineBotCallbackQuery
Auto Trait Implementations§
impl Freeze for UpdateInlineBotCallbackQuery
impl RefUnwindSafe for UpdateInlineBotCallbackQuery
impl Send for UpdateInlineBotCallbackQuery
impl Sync for UpdateInlineBotCallbackQuery
impl Unpin for UpdateInlineBotCallbackQuery
impl UnsafeUnpin for UpdateInlineBotCallbackQuery
impl UnwindSafe for UpdateInlineBotCallbackQuery
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