Enum rust_tdlib::types::CallbackQueryPayload [−][src]
pub enum CallbackQueryPayload { Data(CallbackQueryPayloadData), DataWithPassword(CallbackQueryPayloadDataWithPassword), Game(CallbackQueryPayloadGame), // some variants omitted }
Expand description
Represents a payload of a callback query
Variants
Data(CallbackQueryPayloadData)
The payload for a general callback button
DataWithPassword(CallbackQueryPayloadDataWithPassword)
The payload for a callback button requiring password
Game(CallbackQueryPayloadGame)
The payload for a game callback button
Implementations
Trait Implementations
Performs the conversion.
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
Auto Trait Implementations
impl RefUnwindSafe for CallbackQueryPayload
impl Send for CallbackQueryPayload
impl Sync for CallbackQueryPayload
impl Unpin for CallbackQueryPayload
impl UnwindSafe for CallbackQueryPayload
Blanket Implementations
Mutably borrows from an owned value. Read more