Struct azure_cosmos_sdk::authorization_token::AuthorizationToken
[−]
[src]
pub struct AuthorizationToken { /* fields omitted */ }
Methods
impl AuthorizationToken
[src]
fn new(
account: String,
token_type: TokenType,
base64_encoded: String
) -> Result<AuthorizationToken, DecodeError>
[src]
account: String,
token_type: TokenType,
base64_encoded: String
) -> Result<AuthorizationToken, DecodeError>
fn account(&self) -> &str
[src]
fn token_type(&self) -> TokenType
[src]
fn base64_encoded(&self) -> &str
[src]
fn binary_form(&self) -> &[u8]
[src]
Trait Implementations
impl Clone for AuthorizationToken
[src]
fn clone(&self) -> AuthorizationToken
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for AuthorizationToken
[src]
We provide a custom implementation to hide some of the chars
since they are security sentive.
We show only the 6 first chars of base64_encoded
form and only
the binary vector length.