Struct telegram_typings::Contact [] [src]

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

This object represents a phone contact.

Fields

Contact's phone number

Contact's first name

Contact's last name

Contact's user identifier in Telegram

Trait Implementations

impl Debug for Contact
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Contact
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Contact

impl Sync for Contact