pub struct InputKeyboardButtonRequestPeer {
pub name_requested: bool,
pub username_requested: bool,
pub photo_requested: bool,
pub style: Option<KeyboardButtonStyle>,
pub text: String,
pub button_id: i32,
pub peer_type: RequestPeerType,
pub max_quantity: i32,
}Expand description
Read inputKeyboardButtonRequestPeer docs.
Generated from the following TL definition:
inputKeyboardButtonRequestPeer#2b78156 flags:# name_requested:flags.0?true username_requested:flags.1?true photo_requested:flags.2?true style:flags.10?KeyboardButtonStyle text:string button_id:int peer_type:RequestPeerType max_quantity:int = KeyboardButtonFields§
§name_requested: bool§username_requested: bool§photo_requested: bool§style: Option<KeyboardButtonStyle>§text: String§peer_type: RequestPeerType§max_quantity: i32Trait Implementations§
Source§impl Clone for InputKeyboardButtonRequestPeer
impl Clone for InputKeyboardButtonRequestPeer
Source§fn clone(&self) -> InputKeyboardButtonRequestPeer
fn clone(&self) -> InputKeyboardButtonRequestPeer
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 From<InputKeyboardButtonRequestPeer> for KeyboardButton
impl From<InputKeyboardButtonRequestPeer> for KeyboardButton
Source§fn from(x: InputKeyboardButtonRequestPeer) -> Self
fn from(x: InputKeyboardButtonRequestPeer) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputKeyboardButtonRequestPeer
impl Identifiable for InputKeyboardButtonRequestPeer
Source§const CONSTRUCTOR_ID: u32 = 45580630
const CONSTRUCTOR_ID: u32 = 45580630
The unique identifier for the type.
Source§impl PartialEq for InputKeyboardButtonRequestPeer
impl PartialEq for InputKeyboardButtonRequestPeer
Source§fn eq(&self, other: &InputKeyboardButtonRequestPeer) -> bool
fn eq(&self, other: &InputKeyboardButtonRequestPeer) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InputKeyboardButtonRequestPeer
Auto Trait Implementations§
impl Freeze for InputKeyboardButtonRequestPeer
impl RefUnwindSafe for InputKeyboardButtonRequestPeer
impl Send for InputKeyboardButtonRequestPeer
impl Sync for InputKeyboardButtonRequestPeer
impl Unpin for InputKeyboardButtonRequestPeer
impl UnsafeUnpin for InputKeyboardButtonRequestPeer
impl UnwindSafe for InputKeyboardButtonRequestPeer
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