Skip to main content

ChunkUrlInfo

A ChunkUrlInfo represents a single chunk that will be uploaded or downloaded with URL provided by user.
It describes the chunk url, the offset, the path of the parent file and the chunk size.

Each instance should be generated by user with the signed URLs to use.


Structure

pub struct ChunkUrlInfo {
pub url: String;
pub offset: u64;
pub size: u64;
pub file_path: String;
}

Properties

PropertyTypeDescription
urlStringUrl to upload or download the chunk
offsetu64The offset position of the chunk in the file
sizeu64Size of the chunk in bytes
file_pathStringRelative path of the parent file