Module backblaze_b2::raw::authorize [] [src]

This module defines various methods and structs used for authenticating on the B2 server.

Authentication is usually performed by calling the authorize method on the B2Credentials struct, which returns a B2Authorization.

Structs

B2Authorization

This struct contains the needed authorization to perform any b2 api call. It is typically created using the authorize method on B2Credentials.

B2Credentials

Contains the backblaze id and key needed to authorize access to the backblaze b2 api. This struct derives Deserialize, so a simple way to read this from a file would be: