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