Struct frankenstein::objects::CallbackQuery [−][src]
pub struct CallbackQuery {
pub id: String,
pub from: User,
pub message: Option<Message>,
pub inline_message_id: Option<String>,
pub chat_instance: String,
pub data: Option<String>,
pub game_short_name: Option<String>,
}
Fields
id: String
from: User
message: Option<Message>
inline_message_id: Option<String>
chat_instance: String
data: Option<String>
game_short_name: Option<String>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CallbackQuery
impl Send for CallbackQuery
impl Sync for CallbackQuery
impl Unpin for CallbackQuery
impl UnwindSafe for CallbackQuery
Blanket Implementations
Mutably borrows from an owned value. Read more