Module backblaze_b2::raw::download [] [src]

This module defines various methods and structs for interacting with downloads on backblaze.

The primary struct in this module is DownloadAuthorization, which has various methods for downloading files from backblaze b2. This struct is usually obtained from a B2Authorization using the methods to_download_authorization and get_download_authorization.

This module also defines two functions, which allow downloading from public backblaze buckets without authentication.

Structs

B2Range
DownloadAuthorization

Contains the authorization and access data concerning a download authorization on backblaze.

XBzContentSha1
XBzFileId
XBzFileName
XBzUploadTimestamp

Functions

download_file_by_name

Performs a b2_download_file_by_name api call.

download_range_by_name

Performs a b2_download_file_by_name api call. This function specifies the range of the file to download, and the range_max parameter is inclusive.