pub struct InputKeyboardButtonUserProfile {
pub style: Option<KeyboardButtonStyle>,
pub text: String,
pub user_id: InputUser,
}Expand description
Read inputKeyboardButtonUserProfile docs.
Generated from the following TL definition:
inputKeyboardButtonUserProfile#7d5e07c7 flags:# style:flags.10?KeyboardButtonStyle text:string user_id:InputUser = KeyboardButtonFields§
§style: Option<KeyboardButtonStyle>§text: String§user_id: InputUserTrait Implementations§
Source§impl Clone for InputKeyboardButtonUserProfile
impl Clone for InputKeyboardButtonUserProfile
Source§fn clone(&self) -> InputKeyboardButtonUserProfile
fn clone(&self) -> InputKeyboardButtonUserProfile
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<InputKeyboardButtonUserProfile> for KeyboardButton
impl From<InputKeyboardButtonUserProfile> for KeyboardButton
Source§fn from(x: InputKeyboardButtonUserProfile) -> Self
fn from(x: InputKeyboardButtonUserProfile) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputKeyboardButtonUserProfile
impl Identifiable for InputKeyboardButtonUserProfile
Source§const CONSTRUCTOR_ID: u32 = 2103314375
const CONSTRUCTOR_ID: u32 = 2103314375
The unique identifier for the type.
Source§impl PartialEq for InputKeyboardButtonUserProfile
impl PartialEq for InputKeyboardButtonUserProfile
Source§fn eq(&self, other: &InputKeyboardButtonUserProfile) -> bool
fn eq(&self, other: &InputKeyboardButtonUserProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InputKeyboardButtonUserProfile
Auto Trait Implementations§
impl Freeze for InputKeyboardButtonUserProfile
impl RefUnwindSafe for InputKeyboardButtonUserProfile
impl Send for InputKeyboardButtonUserProfile
impl Sync for InputKeyboardButtonUserProfile
impl Unpin for InputKeyboardButtonUserProfile
impl UnsafeUnpin for InputKeyboardButtonUserProfile
impl UnwindSafe for InputKeyboardButtonUserProfile
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