[][src]Enum grammers_tl_types::enums::KeyboardButton

pub enum KeyboardButton {
    Button(KeyboardButton),
    Url(KeyboardButtonUrl),
    Callback(KeyboardButtonCallback),
    RequestPhone(KeyboardButtonRequestPhone),
    RequestGeoLocation(KeyboardButtonRequestGeoLocation),
    SwitchInline(KeyboardButtonSwitchInline),
    Game(KeyboardButtonGame),
    Buy(KeyboardButtonBuy),
    UrlAuth(KeyboardButtonUrlAuth),
    InputKeyboardButtonUrlAuth(InputKeyboardButtonUrlAuth),
    RequestPoll(KeyboardButtonRequestPoll),
}

Variants

InputKeyboardButtonUrlAuth(InputKeyboardButtonUrlAuth)

Trait Implementations

impl Clone for KeyboardButton[src]

impl Debug for KeyboardButton[src]

impl Deserializable for KeyboardButton[src]

impl From<InputKeyboardButtonUrlAuth> for KeyboardButton[src]

impl From<KeyboardButton> for KeyboardButton[src]

impl From<KeyboardButtonBuy> for KeyboardButton[src]

impl From<KeyboardButtonCallback> for KeyboardButton[src]

impl From<KeyboardButtonGame> for KeyboardButton[src]

impl From<KeyboardButtonRequestGeoLocation> for KeyboardButton[src]

impl From<KeyboardButtonRequestPhone> for KeyboardButton[src]

impl From<KeyboardButtonRequestPoll> for KeyboardButton[src]

impl From<KeyboardButtonSwitchInline> for KeyboardButton[src]

impl From<KeyboardButtonUrl> for KeyboardButton[src]

impl From<KeyboardButtonUrlAuth> for KeyboardButton[src]

impl PartialEq<KeyboardButton> for KeyboardButton[src]

impl Serializable for KeyboardButton[src]

impl StructuralPartialEq for KeyboardButton[src]

impl TryFrom<KeyboardButton> for InputKeyboardButtonUrlAuth[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<KeyboardButton> for KeyboardButton[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<KeyboardButton> for KeyboardButtonUrlAuth[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<KeyboardButton> for KeyboardButtonBuy[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<KeyboardButton> for KeyboardButtonCallback[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<KeyboardButton> for KeyboardButtonGame[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<KeyboardButton> for KeyboardButtonRequestGeoLocation[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<KeyboardButton> for KeyboardButtonRequestPhone[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<KeyboardButton> for KeyboardButtonRequestPoll[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<KeyboardButton> for KeyboardButtonSwitchInline[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<KeyboardButton> for KeyboardButtonUrl[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

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

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

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

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.