[−][src]Enum grammers_tl_types::enums::KeyboardButton
Variants
Button(KeyboardButton)
Url(KeyboardButtonUrl)
Callback(KeyboardButtonCallback)
RequestPhone(KeyboardButtonRequestPhone)
RequestGeoLocation(KeyboardButtonRequestGeoLocation)
SwitchInline(KeyboardButtonSwitchInline)
Game(KeyboardButtonGame)
Buy(KeyboardButtonBuy)
UrlAuth(KeyboardButtonUrlAuth)
InputKeyboardButtonUrlAuth(InputKeyboardButtonUrlAuth)
RequestPoll(KeyboardButtonRequestPoll)
Trait Implementations
impl Clone for KeyboardButton
[src]
fn clone(&self) -> KeyboardButton
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for KeyboardButton
[src]
impl Deserializable for KeyboardButton
[src]
fn deserialize(buf: &'a mut Cursor<'b>) -> Result<Self, DeserializeError>
[src]
fn from_bytes(buf: &[u8]) -> Result<Self, DeserializeError> where
Self: Sized,
[src]
Self: Sized,
impl From<InputKeyboardButtonUrlAuth> for KeyboardButton
[src]
fn from(x: InputKeyboardButtonUrlAuth) -> Self
[src]
impl From<KeyboardButton> for KeyboardButton
[src]
fn from(x: KeyboardButton) -> Self
[src]
impl From<KeyboardButtonBuy> for KeyboardButton
[src]
fn from(x: KeyboardButtonBuy) -> Self
[src]
impl From<KeyboardButtonCallback> for KeyboardButton
[src]
fn from(x: KeyboardButtonCallback) -> Self
[src]
impl From<KeyboardButtonGame> for KeyboardButton
[src]
fn from(x: KeyboardButtonGame) -> Self
[src]
impl From<KeyboardButtonRequestGeoLocation> for KeyboardButton
[src]
fn from(x: KeyboardButtonRequestGeoLocation) -> Self
[src]
impl From<KeyboardButtonRequestPhone> for KeyboardButton
[src]
fn from(x: KeyboardButtonRequestPhone) -> Self
[src]
impl From<KeyboardButtonRequestPoll> for KeyboardButton
[src]
fn from(x: KeyboardButtonRequestPoll) -> Self
[src]
impl From<KeyboardButtonSwitchInline> for KeyboardButton
[src]
fn from(x: KeyboardButtonSwitchInline) -> Self
[src]
impl From<KeyboardButtonUrl> for KeyboardButton
[src]
fn from(x: KeyboardButtonUrl) -> Self
[src]
impl From<KeyboardButtonUrlAuth> for KeyboardButton
[src]
fn from(x: KeyboardButtonUrlAuth) -> Self
[src]
impl PartialEq<KeyboardButton> for KeyboardButton
[src]
fn eq(&self, other: &KeyboardButton) -> bool
[src]
fn ne(&self, other: &KeyboardButton) -> bool
[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.
fn try_from(x: KeyboardButton) -> Result<Self, Self::Error>
[src]
impl TryFrom<KeyboardButton> for KeyboardButton
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: KeyboardButton) -> Result<Self, Self::Error>
[src]
impl TryFrom<KeyboardButton> for KeyboardButtonUrlAuth
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: KeyboardButton) -> Result<Self, Self::Error>
[src]
impl TryFrom<KeyboardButton> for KeyboardButtonBuy
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: KeyboardButton) -> Result<Self, Self::Error>
[src]
impl TryFrom<KeyboardButton> for KeyboardButtonCallback
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: KeyboardButton) -> Result<Self, Self::Error>
[src]
impl TryFrom<KeyboardButton> for KeyboardButtonGame
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: KeyboardButton) -> Result<Self, Self::Error>
[src]
impl TryFrom<KeyboardButton> for KeyboardButtonRequestGeoLocation
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: KeyboardButton) -> Result<Self, Self::Error>
[src]
impl TryFrom<KeyboardButton> for KeyboardButtonRequestPhone
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: KeyboardButton) -> Result<Self, Self::Error>
[src]
impl TryFrom<KeyboardButton> for KeyboardButtonRequestPoll
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: KeyboardButton) -> Result<Self, Self::Error>
[src]
impl TryFrom<KeyboardButton> for KeyboardButtonSwitchInline
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: KeyboardButton) -> Result<Self, Self::Error>
[src]
impl TryFrom<KeyboardButton> for KeyboardButtonUrl
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: KeyboardButton) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for KeyboardButton
impl Send for KeyboardButton
impl Sync for KeyboardButton
impl Unpin for KeyboardButton
impl UnwindSafe for KeyboardButton
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,