Struct tg_bot_models::Video [] [src]

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

This object represents a video file.

Fields

Unique identifier for this file

Video width as defined by sender

Video height as defined by sender

Duration of the video in seconds as defined by sender

Optional. Video thumbnail

Optional. Mime type of a file as defined by sender

Optional. File size

Trait Implementations

impl Debug for Video
[src]

Formats the value using the given formatter.

impl Clone for Video
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Video
[src]

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

This method tests for !=.

impl PartialOrd for Video
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more