[][src]Struct tbot::types::callback::query::Query

pub struct Query {
    pub id: Id,
    pub from: User,
    pub origin: Origin,
    pub chat_instance: String,
    pub kind: Kind,
}

Represents a CallbackQuery.

Fields

id: Id

The ID of the callback.

from: User

The user who initiated the callback.

origin: Origin

The origin of the query.

chat_instance: String

The identifier of the chat.

kind: Kind

The kind of the callback.

Trait Implementations

impl PartialEq<Query> for Query[src]

impl Clone for Query[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Query[src]

impl<'de> Deserialize<'de> for Query[src]

Auto Trait Implementations

impl Send for Query

impl Unpin for Query

impl Sync for Query

impl UnwindSafe for Query

impl RefUnwindSafe for Query

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]