Struct raze::api::B2Auth [−][src]
pub struct B2Auth { pub account_id: String, pub authorization_token: String, pub api_url: String, pub download_url: String, pub absolute_minimum_part_size: usize, pub recommended_part_size: usize, }
Expand description
An authorization from b2_authorize_account - Required for most other calls
Note: ‘allowed’ object is currently unsupported
Fields
account_id: String
api_url: String
download_url: String
absolute_minimum_part_size: usize
recommended_part_size: usize
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for B2Auth
impl UnwindSafe for B2Auth
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more