Struct telegram_bot::types::PhotoSize[][src]

pub struct PhotoSize {
    pub file_id: String,
    pub width: Integer,
    pub height: Integer,
    pub file_size: Option<Integer>,
}

Telegram type "PhotoSize" (directly mapped)

Fields

Trait Implementations

impl Decodable for PhotoSize
[src]

Deserialize a value using a Decoder.

impl Debug for PhotoSize
[src]

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for PhotoSize
[src]

Serialize a value using an Encoder.

Auto Trait Implementations

impl Send for PhotoSize

impl Sync for PhotoSize