Enum telbot_types::file::InputFileVariant[][src]

pub enum InputFileVariant {
    File(InputFile),
    Id(String),
}
Expand description

Thumbnail type.

Variants

File(InputFile)

Use existing file

Tuple Fields of File

0: InputFile
Id(String)

Upload a new file

Tuple Fields of Id

0: String

Trait Implementations

Performs the conversion.

Performs the conversion.

Performs the conversion.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.