Struct telegram_bot::types::User[][src]

pub struct User {
    pub id: Integer,
    pub first_name: String,
    pub last_name: Option<String>,
    pub username: Option<String>,
}

Telegram type "User" (directly mapped)

Fields

Trait Implementations

impl Decodable for User
[src]

Deserialize a value using a Decoder.

impl Debug for User
[src]

Formats the value using the given formatter. Read more

impl PartialEq for User
[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 User
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for User
[src]

Serialize a value using an Encoder.

Auto Trait Implementations

impl Send for User

impl Sync for User