Enum rtdlib::types::CallbackQueryPayload [−][src]
pub enum CallbackQueryPayload {
Data(CallbackQueryPayloadData),
Game(CallbackQueryPayloadGame),
// some variants omitted
}
Expand description
Represents a payload of a callback query
Variants
The payload from a general callback button
Tuple Fields of Data
The payload from a game callback button
Tuple Fields of Game
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<CallbackQueryPayload, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<CallbackQueryPayload, 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