Struct rust_tdlib::types::KeyboardButtonTypeText
source · [−]pub struct KeyboardButtonTypeText { /* private fields */ }
Expand description
A simple button, with text that must be sent when the button is pressed
Implementations
Trait Implementations
sourceimpl AsRef<KeyboardButtonTypeText> for KeyboardButtonTypeText
impl AsRef<KeyboardButtonTypeText> for KeyboardButtonTypeText
sourcefn as_ref(&self) -> &KeyboardButtonTypeText
fn as_ref(&self) -> &KeyboardButtonTypeText
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for KeyboardButtonTypeText
impl Clone for KeyboardButtonTypeText
sourcefn clone(&self) -> KeyboardButtonTypeText
fn clone(&self) -> KeyboardButtonTypeText
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for KeyboardButtonTypeText
impl Debug for KeyboardButtonTypeText
sourceimpl Default for KeyboardButtonTypeText
impl Default for KeyboardButtonTypeText
sourcefn default() -> KeyboardButtonTypeText
fn default() -> KeyboardButtonTypeText
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for KeyboardButtonTypeText
impl<'de> Deserialize<'de> for KeyboardButtonTypeText
sourcefn 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
sourceimpl Serialize for KeyboardButtonTypeText
impl Serialize for KeyboardButtonTypeText
impl TDKeyboardButtonType for KeyboardButtonTypeText
Auto Trait Implementations
impl RefUnwindSafe for KeyboardButtonTypeText
impl Send for KeyboardButtonTypeText
impl Sync for KeyboardButtonTypeText
impl Unpin for KeyboardButtonTypeText
impl UnwindSafe for KeyboardButtonTypeText
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more