pub struct KeyboardButtonUrlAuth {
pub style: Option<KeyboardButtonStyle>,
pub text: String,
pub fwd_text: Option<String>,
pub url: String,
pub button_id: i32,
}Expand description
Read keyboardButtonUrlAuth docs.
Generated from the following TL definition:
keyboardButtonUrlAuth#f51006f9 flags:# style:flags.10?KeyboardButtonStyle text:string fwd_text:flags.0?string url:string button_id:int = KeyboardButtonFields§
§style: Option<KeyboardButtonStyle>§text: String§fwd_text: Option<String>§url: StringTrait Implementations§
Source§impl Clone for KeyboardButtonUrlAuth
impl Clone for KeyboardButtonUrlAuth
Source§fn clone(&self) -> KeyboardButtonUrlAuth
fn clone(&self) -> KeyboardButtonUrlAuth
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 KeyboardButtonUrlAuth
impl Debug for KeyboardButtonUrlAuth
Source§impl From<KeyboardButtonUrlAuth> for KeyboardButton
impl From<KeyboardButtonUrlAuth> for KeyboardButton
Source§fn from(x: KeyboardButtonUrlAuth) -> Self
fn from(x: KeyboardButtonUrlAuth) -> Self
Converts to this type from the input type.
Source§impl Identifiable for KeyboardButtonUrlAuth
impl Identifiable for KeyboardButtonUrlAuth
Source§const CONSTRUCTOR_ID: u32 = 4111468281
const CONSTRUCTOR_ID: u32 = 4111468281
The unique identifier for the type.
Source§impl PartialEq for KeyboardButtonUrlAuth
impl PartialEq for KeyboardButtonUrlAuth
Source§impl Serializable for KeyboardButtonUrlAuth
impl Serializable for KeyboardButtonUrlAuth
impl StructuralPartialEq for KeyboardButtonUrlAuth
Auto Trait Implementations§
impl Freeze for KeyboardButtonUrlAuth
impl RefUnwindSafe for KeyboardButtonUrlAuth
impl Send for KeyboardButtonUrlAuth
impl Sync for KeyboardButtonUrlAuth
impl Unpin for KeyboardButtonUrlAuth
impl UnsafeUnpin for KeyboardButtonUrlAuth
impl UnwindSafe for KeyboardButtonUrlAuth
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