pub struct UpdateNewInlineCallbackQuery { /* private fields */ }
Expand description
A new incoming callback query from a message sent via a bot; for bots only
Implementations§
Source§impl UpdateNewInlineCallbackQuery
impl UpdateNewInlineCallbackQuery
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> UpdateNewInlineCallbackQueryBuilder
pub fn id(&self) -> i64
pub fn sender_user_id(&self) -> i64
pub fn inline_message_id(&self) -> &String
pub fn chat_instance(&self) -> i64
pub fn payload(&self) -> &CallbackQueryPayload
Trait Implementations§
Source§impl AsRef<UpdateNewInlineCallbackQuery> for UpdateNewInlineCallbackQuery
impl AsRef<UpdateNewInlineCallbackQuery> for UpdateNewInlineCallbackQuery
Source§fn as_ref(&self) -> &UpdateNewInlineCallbackQuery
fn as_ref(&self) -> &UpdateNewInlineCallbackQuery
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for UpdateNewInlineCallbackQuery
impl Clone for UpdateNewInlineCallbackQuery
Source§fn clone(&self) -> UpdateNewInlineCallbackQuery
fn clone(&self) -> UpdateNewInlineCallbackQuery
Returns a copy 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 UpdateNewInlineCallbackQuery
impl Debug for UpdateNewInlineCallbackQuery
Source§impl Default for UpdateNewInlineCallbackQuery
impl Default for UpdateNewInlineCallbackQuery
Source§fn default() -> UpdateNewInlineCallbackQuery
fn default() -> UpdateNewInlineCallbackQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateNewInlineCallbackQuery
impl<'de> Deserialize<'de> for UpdateNewInlineCallbackQuery
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
impl TDUpdate for UpdateNewInlineCallbackQuery
Auto Trait Implementations§
impl Freeze for UpdateNewInlineCallbackQuery
impl RefUnwindSafe for UpdateNewInlineCallbackQuery
impl Send for UpdateNewInlineCallbackQuery
impl Sync for UpdateNewInlineCallbackQuery
impl Unpin for UpdateNewInlineCallbackQuery
impl UnwindSafe for UpdateNewInlineCallbackQuery
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