Struct telegram_typings::PhotoSize [] [src]

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

This object represents one size of a photo or a file / sticker thumbnail. See https://core.telegram.org/bots/api#document See https://core.telegram.org/bots/api#sticker

Fields

Unique identifier for this file

Photo width

Photo height

File size

Trait Implementations

impl Debug for PhotoSize
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for PhotoSize
[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 PhotoSize

impl Sync for PhotoSize