Enum rtdlib::types::InputFile [−][src]
pub enum InputFile {
Generated(InputFileGenerated),
Id(InputFileId),
Local(InputFileLocal),
Remote(InputFileRemote),
// some variants omitted
}
Expand description
Points to a file
Variants
A file generated by the application
Tuple Fields of Generated
A file defined by its unique ID
Tuple Fields of Id
0: InputFileId
A file defined by a local path
Tuple Fields of Local
A file defined by its remote ID. The remote ID is guaranteed to be usable only if the corresponding file is still accessible to the user and known to TDLib. For example, if the file is from a message, then the message must be not deleted and accessible to the user. If the file database is disabled, then the corresponding object with the file must be preloaded by the application
Tuple Fields of Remote
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InputFile
impl UnwindSafe for InputFile
Blanket Implementations
Mutably borrows from an owned value. Read more