Struct telegram_bot::types::Voice[][src]

pub struct Voice {
    pub file_id: String,
    pub duration: Integer,
    pub mime_type: Option<String>,
    pub file_size: Option<Integer>,
}

Telegram type "Voice" (directly mapped)

Fields

Trait Implementations

impl Decodable for Voice
[src]

Deserialize a value using a Decoder.

impl Debug for Voice
[src]

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for Voice
[src]

Serialize a value using an Encoder.

Auto Trait Implementations

impl Send for Voice

impl Sync for Voice