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