pub struct KeyboardButtonCallback {
pub requires_password: bool,
pub style: Option<KeyboardButtonStyle>,
pub text: String,
pub data: Vec<u8>,
}Expand description
Read keyboardButtonCallback docs.
Generated from the following TL definition:
keyboardButtonCallback#e62bc960 flags:# requires_password:flags.0?true style:flags.10?KeyboardButtonStyle text:string data:bytes = KeyboardButtonFields§
§requires_password: bool§style: Option<KeyboardButtonStyle>§text: String§data: Vec<u8>Trait Implementations§
Source§impl Clone for KeyboardButtonCallback
impl Clone for KeyboardButtonCallback
Source§fn clone(&self) -> KeyboardButtonCallback
fn clone(&self) -> KeyboardButtonCallback
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeyboardButtonCallback
impl Debug for KeyboardButtonCallback
Source§impl From<KeyboardButtonCallback> for KeyboardButton
impl From<KeyboardButtonCallback> for KeyboardButton
Source§fn from(x: KeyboardButtonCallback) -> Self
fn from(x: KeyboardButtonCallback) -> Self
Converts to this type from the input type.
Source§impl Identifiable for KeyboardButtonCallback
impl Identifiable for KeyboardButtonCallback
Source§const CONSTRUCTOR_ID: u32 = 3861629280
const CONSTRUCTOR_ID: u32 = 3861629280
The unique identifier for the type.
Source§impl PartialEq for KeyboardButtonCallback
impl PartialEq for KeyboardButtonCallback
impl StructuralPartialEq for KeyboardButtonCallback
Auto Trait Implementations§
impl Freeze for KeyboardButtonCallback
impl RefUnwindSafe for KeyboardButtonCallback
impl Send for KeyboardButtonCallback
impl Sync for KeyboardButtonCallback
impl Unpin for KeyboardButtonCallback
impl UnsafeUnpin for KeyboardButtonCallback
impl UnwindSafe for KeyboardButtonCallback
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more