pub struct InputKeyboardButtonUrlAuth {
pub request_write_access: bool,
pub style: Option<KeyboardButtonStyle>,
pub text: String,
pub fwd_text: Option<String>,
pub url: String,
pub bot: InputUser,
}Expand description
Generated from:
inputKeyboardButtonUrlAuth#68013e72 flags:# request_write_access:flags.0?true style:flags.10?KeyboardButtonStyle text:string fwd_text:flags.1?string url:string bot:InputUser = KeyboardButtonFields§
§request_write_access: bool§style: Option<KeyboardButtonStyle>§text: String§fwd_text: Option<String>§url: String§bot: InputUserTrait Implementations§
Source§impl Clone for InputKeyboardButtonUrlAuth
impl Clone for InputKeyboardButtonUrlAuth
Source§fn clone(&self) -> InputKeyboardButtonUrlAuth
fn clone(&self) -> InputKeyboardButtonUrlAuth
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 InputKeyboardButtonUrlAuth
impl Debug for InputKeyboardButtonUrlAuth
Source§impl Deserializable for InputKeyboardButtonUrlAuth
impl Deserializable for InputKeyboardButtonUrlAuth
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<InputKeyboardButtonUrlAuth> for KeyboardButton
impl From<InputKeyboardButtonUrlAuth> for KeyboardButton
Source§fn from(x: InputKeyboardButtonUrlAuth) -> Self
fn from(x: InputKeyboardButtonUrlAuth) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputKeyboardButtonUrlAuth
impl Identifiable for InputKeyboardButtonUrlAuth
Source§const CONSTRUCTOR_ID: u32 = 0x68013e72
const CONSTRUCTOR_ID: u32 = 0x68013e72
The constructor ID as specified in the TL schema.
Source§impl TryFrom<KeyboardButton> for InputKeyboardButtonUrlAuth
impl TryFrom<KeyboardButton> for InputKeyboardButtonUrlAuth
Source§type Error = KeyboardButton
type Error = KeyboardButton
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputKeyboardButtonUrlAuth
Auto Trait Implementations§
impl Freeze for InputKeyboardButtonUrlAuth
impl RefUnwindSafe for InputKeyboardButtonUrlAuth
impl Send for InputKeyboardButtonUrlAuth
impl Sync for InputKeyboardButtonUrlAuth
impl Unpin for InputKeyboardButtonUrlAuth
impl UnsafeUnpin for InputKeyboardButtonUrlAuth
impl UnwindSafe for InputKeyboardButtonUrlAuth
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