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.