Struct telegram_bot::types::Contact[][src]

pub struct Contact {
    pub phone_number: String,
    pub first_name: String,
    pub last_name: Option<String>,
    pub user_id: Option<Integer>,
}

Telegram type "Contact" (directly mapped)

Fields

Trait Implementations

impl Decodable for Contact
[src]

Deserialize a value using a Decoder.

impl Debug for Contact
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Contact
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Contact
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for Contact
[src]

Serialize a value using an Encoder.

Auto Trait Implementations

impl Send for Contact

impl Sync for Contact