pub struct BotInlineMessageMediaContact {
pub phone_number: String,
pub first_name: String,
pub last_name: String,
pub vcard: String,
pub reply_markup: Option<ReplyMarkup>,
}Expand description
Generated from:
botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessageFields§
§phone_number: String§first_name: String§last_name: String§vcard: String§reply_markup: Option<ReplyMarkup>Trait Implementations§
Source§impl Clone for BotInlineMessageMediaContact
impl Clone for BotInlineMessageMediaContact
Source§fn clone(&self) -> BotInlineMessageMediaContact
fn clone(&self) -> BotInlineMessageMediaContact
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 BotInlineMessageMediaContact
impl Debug for BotInlineMessageMediaContact
Source§impl Deserializable for BotInlineMessageMediaContact
impl Deserializable for BotInlineMessageMediaContact
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<BotInlineMessageMediaContact> for BotInlineMessage
impl From<BotInlineMessageMediaContact> for BotInlineMessage
Source§fn from(x: BotInlineMessageMediaContact) -> Self
fn from(x: BotInlineMessageMediaContact) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BotInlineMessageMediaContact
impl Identifiable for BotInlineMessageMediaContact
Source§const CONSTRUCTOR_ID: u32 = 0x18d1cdc2
const CONSTRUCTOR_ID: u32 = 0x18d1cdc2
The constructor ID as specified in the TL schema.
Source§impl PartialEq for BotInlineMessageMediaContact
impl PartialEq for BotInlineMessageMediaContact
Source§fn eq(&self, other: &BotInlineMessageMediaContact) -> bool
fn eq(&self, other: &BotInlineMessageMediaContact) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<BotInlineMessage> for BotInlineMessageMediaContact
impl TryFrom<BotInlineMessage> for BotInlineMessageMediaContact
Source§type Error = BotInlineMessage
type Error = BotInlineMessage
The type returned in the event of a conversion error.
impl StructuralPartialEq for BotInlineMessageMediaContact
Auto Trait Implementations§
impl Freeze for BotInlineMessageMediaContact
impl RefUnwindSafe for BotInlineMessageMediaContact
impl Send for BotInlineMessageMediaContact
impl Sync for BotInlineMessageMediaContact
impl Unpin for BotInlineMessageMediaContact
impl UnsafeUnpin for BotInlineMessageMediaContact
impl UnwindSafe for BotInlineMessageMediaContact
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