pub struct KeyboardButtonUrlAuth {
pub style: Option<KeyboardButtonStyle>,
pub text: String,
pub fwd_text: Option<String>,
pub url: String,
pub button_id: i32,
}Expand description
Generated from:
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 Deserializable for KeyboardButtonUrlAuth
impl Deserializable for KeyboardButtonUrlAuth
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
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 = 0xf51006f9
const CONSTRUCTOR_ID: u32 = 0xf51006f9
The constructor ID as specified in the TL schema.
Source§impl PartialEq for KeyboardButtonUrlAuth
impl PartialEq for KeyboardButtonUrlAuth
Source§impl Serializable for KeyboardButtonUrlAuth
impl Serializable for KeyboardButtonUrlAuth
Source§impl TryFrom<KeyboardButton> for KeyboardButtonUrlAuth
impl TryFrom<KeyboardButton> for KeyboardButtonUrlAuth
Source§type Error = KeyboardButton
type Error = KeyboardButton
The type returned in the event of a conversion error.
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