[][src]Struct telegram_bot::types::InputContactMessageContent

pub struct InputContactMessageContent {
    pub phone_number: String,
    pub first_name: String,
    pub last_name: Option<String>,
    pub vcard: Option<String>,
}

Fields

phone_number: String

Contact's phone number

first_name: String

Contact's first name

last_name: Option<String>

Contact's last name Additional data about the contact in the form of a vCard, 0-2048 bytes

vcard: Option<String>

Trait Implementations

impl Debug for InputContactMessageContent[src]

impl From<InputContactMessageContent> for InputMessageContent[src]

impl Serialize for InputContactMessageContent[src]

Auto Trait Implementations

impl RefUnwindSafe for InputContactMessageContent[src]

impl Send for InputContactMessageContent[src]

impl Sync for InputContactMessageContent[src]

impl Unpin for InputContactMessageContent[src]

impl UnwindSafe for InputContactMessageContent[src]

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]