pub struct UpdateNewBusinessCallbackQuery {
pub id: i64,
pub sender_user_id: i64,
pub connection_id: String,
pub message: BusinessMessage,
pub chat_instance: i64,
pub payload: CallbackQueryPayload,
}Expand description
A new incoming callback query from a business message; for bots only
Fields§
§id: i64Unique query identifier
sender_user_id: i64Identifier of the user who sent the query
connection_id: StringUnique identifier of the business connection
message: BusinessMessageThe message from the business account from which the query originated
chat_instance: i64An identifier uniquely corresponding to the chat a message was sent to
payload: CallbackQueryPayloadQuery payload
Trait Implementations§
Source§impl Clone for UpdateNewBusinessCallbackQuery
impl Clone for UpdateNewBusinessCallbackQuery
Source§fn clone(&self) -> UpdateNewBusinessCallbackQuery
fn clone(&self) -> UpdateNewBusinessCallbackQuery
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<'de> Deserialize<'de> for UpdateNewBusinessCallbackQuery
impl<'de> Deserialize<'de> for UpdateNewBusinessCallbackQuery
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
Source§impl PartialEq for UpdateNewBusinessCallbackQuery
impl PartialEq for UpdateNewBusinessCallbackQuery
Source§fn eq(&self, other: &UpdateNewBusinessCallbackQuery) -> bool
fn eq(&self, other: &UpdateNewBusinessCallbackQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateNewBusinessCallbackQuery
Auto Trait Implementations§
impl Freeze for UpdateNewBusinessCallbackQuery
impl RefUnwindSafe for UpdateNewBusinessCallbackQuery
impl Send for UpdateNewBusinessCallbackQuery
impl Sync for UpdateNewBusinessCallbackQuery
impl Unpin for UpdateNewBusinessCallbackQuery
impl UnsafeUnpin for UpdateNewBusinessCallbackQuery
impl UnwindSafe for UpdateNewBusinessCallbackQuery
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