pub struct CallbackQuery {
pub id: Box<str>,
pub from: User,
pub data: Box<str>,
pub message: Option<CallbackQueryMessage>,
}Expand description
Fields§
§id: Box<str>§from: User§data: Box<str>§message: Option<CallbackQueryMessage>Trait Implementations§
Source§impl Clone for CallbackQuery
impl Clone for CallbackQuery
Source§fn clone(&self) -> CallbackQuery
fn clone(&self) -> CallbackQuery
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 CallbackQuery
impl Debug for CallbackQuery
Source§impl<'de> Deserialize<'de> for CallbackQuery
impl<'de> Deserialize<'de> for CallbackQuery
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 From<CallbackQuery> for UpdateKind
impl From<CallbackQuery> for UpdateKind
Source§fn from(value: CallbackQuery) -> Self
fn from(value: CallbackQuery) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CallbackQuery
impl PartialEq for CallbackQuery
Source§impl Serialize for CallbackQuery
impl Serialize for CallbackQuery
impl StructuralPartialEq for CallbackQuery
Auto Trait Implementations§
impl Freeze for CallbackQuery
impl RefUnwindSafe for CallbackQuery
impl Send for CallbackQuery
impl Sync for CallbackQuery
impl Unpin for CallbackQuery
impl UnwindSafe for CallbackQuery
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