Skip to main content
pub struct MultiPartDownloadInfo 
    pub file_name: String,
    pub read_offset: i64,
    pub read_length: i64,
    pub download_part_number: i64,
    pub total_parts: i64,

Information about a part of a multi-part download.

Fields

file_name: String

Name of the file being downloaded

read_offset: i64

Offset in the file of this part

read_length: i64

Length of this part

download_part_number: i64

Number of this part, counting from 0

total_parts: i64

Total number of parts in this download

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more