pub trait Downloadable {
// Required method
fn to_input_location(&self) -> Option<InputFileLocation>;
// Provided method
fn size(&self) -> Option<usize> { ... }
}Expand description
Something that can be downloaded via Client::iter_download.
Required Methods§
Sourcefn to_input_location(&self) -> Option<InputFileLocation>
fn to_input_location(&self) -> Option<InputFileLocation>
Return the InputFileLocation needed for upload.getFile.
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".