pub struct KeyboardButtonUserProfile {
pub style: Option<KeyboardButtonStyle>,
pub text: String,
pub user_id: i64,
}Expand description
Read keyboardButtonUserProfile docs.
Generated from the following TL definition:
keyboardButtonUserProfile#c0fd5d09 flags:# style:flags.10?KeyboardButtonStyle text:string user_id:long = KeyboardButtonFields§
§style: Option<KeyboardButtonStyle>§text: String§user_id: i64Trait Implementations§
Source§impl Clone for KeyboardButtonUserProfile
impl Clone for KeyboardButtonUserProfile
Source§fn clone(&self) -> KeyboardButtonUserProfile
fn clone(&self) -> KeyboardButtonUserProfile
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 KeyboardButtonUserProfile
impl Debug for KeyboardButtonUserProfile
Source§impl From<KeyboardButtonUserProfile> for KeyboardButton
impl From<KeyboardButtonUserProfile> for KeyboardButton
Source§fn from(x: KeyboardButtonUserProfile) -> Self
fn from(x: KeyboardButtonUserProfile) -> Self
Converts to this type from the input type.
Source§impl Identifiable for KeyboardButtonUserProfile
impl Identifiable for KeyboardButtonUserProfile
Source§const CONSTRUCTOR_ID: u32 = 3237829897
const CONSTRUCTOR_ID: u32 = 3237829897
The unique identifier for the type.
impl StructuralPartialEq for KeyboardButtonUserProfile
Auto Trait Implementations§
impl Freeze for KeyboardButtonUserProfile
impl RefUnwindSafe for KeyboardButtonUserProfile
impl Send for KeyboardButtonUserProfile
impl Sync for KeyboardButtonUserProfile
impl Unpin for KeyboardButtonUserProfile
impl UnsafeUnpin for KeyboardButtonUserProfile
impl UnwindSafe for KeyboardButtonUserProfile
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