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
| Property | Type | Description |
|---|---|---|
| url | String | Url to upload or download the chunk |
| offset | u64 | The offset position of the chunk in the file |
| size | u64 | Size of the chunk in bytes |
| file_path | String | Relative path of the parent file |