pub struct InputBotInlineMessageMediaContact {
pub phone_number: String,
pub first_name: String,
pub last_name: String,
pub vcard: String,
pub reply_markup: Option<ReplyMarkup>,
}Expand description
Read inputBotInlineMessageMediaContact docs.
Generated from the following TL definition:
inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessageFields§
§phone_number: String§first_name: String§last_name: String§vcard: String§reply_markup: Option<ReplyMarkup>Trait Implementations§
Source§impl Clone for InputBotInlineMessageMediaContact
impl Clone for InputBotInlineMessageMediaContact
Source§fn clone(&self) -> InputBotInlineMessageMediaContact
fn clone(&self) -> InputBotInlineMessageMediaContact
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<InputBotInlineMessageMediaContact> for InputBotInlineMessage
impl From<InputBotInlineMessageMediaContact> for InputBotInlineMessage
Source§fn from(x: InputBotInlineMessageMediaContact) -> Self
fn from(x: InputBotInlineMessageMediaContact) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputBotInlineMessageMediaContact
impl Identifiable for InputBotInlineMessageMediaContact
Source§const CONSTRUCTOR_ID: u32 = 2800599037
const CONSTRUCTOR_ID: u32 = 2800599037
The unique identifier for the type.
Source§impl PartialEq for InputBotInlineMessageMediaContact
impl PartialEq for InputBotInlineMessageMediaContact
Source§fn eq(&self, other: &InputBotInlineMessageMediaContact) -> bool
fn eq(&self, other: &InputBotInlineMessageMediaContact) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InputBotInlineMessageMediaContact
Auto Trait Implementations§
impl Freeze for InputBotInlineMessageMediaContact
impl RefUnwindSafe for InputBotInlineMessageMediaContact
impl Send for InputBotInlineMessageMediaContact
impl Sync for InputBotInlineMessageMediaContact
impl Unpin for InputBotInlineMessageMediaContact
impl UnsafeUnpin for InputBotInlineMessageMediaContact
impl UnwindSafe for InputBotInlineMessageMediaContact
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