Struct telegram_bot::types::Audio[][src]

pub struct Audio {
    pub file_id: String,
    pub duration: Integer,
    pub performer: Option<String>,
    pub title: Option<String>,
    pub mime_type: Option<String>,
    pub file_size: Option<Integer>,
}

Telegram type "Audio" (directly mapped)

Fields

Trait Implementations

impl Decodable for Audio
[src]

Deserialize a value using a Decoder.

impl Debug for Audio
[src]

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for Audio
[src]

Serialize a value using an Encoder.

Auto Trait Implementations

impl Send for Audio

impl Sync for Audio