[][src]Struct tg_botapi::types::InlineQueryResultContact

pub struct InlineQueryResultContact {
    pub id: String,
    pub phone_number: String,
    pub first_name: String,
    pub last_name: Option<String>,
    pub vcard: Option<String>,
    pub reply_markup: Option<InlineKeyboardMarkup>,
    pub input_message_content: Option<InputMessageContent>,
    pub thumb_url: Option<String>,
    pub thumb_width: Option<i64>,
    pub thumb_height: Option<i64>,
}

Fields

id: Stringphone_number: Stringfirst_name: Stringlast_name: Option<String>vcard: Option<String>reply_markup: Option<InlineKeyboardMarkup>input_message_content: Option<InputMessageContent>thumb_url: Option<String>thumb_width: Option<i64>thumb_height: Option<i64>

Trait Implementations

impl From<InlineQueryResultContact> for InlineQueryResult[src]

impl Clone for InlineQueryResultContact[src]

impl Debug for InlineQueryResultContact[src]

impl Serialize for InlineQueryResultContact[src]

Auto Trait Implementations

Blanket Implementations

impl<'a, T> Captures<'a> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]