Enum sota::datatype::auth::Auth [] [src]

pub enum Auth {
    None,
    Credentials(ClientCredentials),
    Token(AccessToken),
}

The available authentication types for communicating with the Auth server.

Variants

None
Credentials
Token

Trait Implementations

impl<'a> Into<Cow<'a, Auth>> for Auth
[src]

fn into(self) -> Cow<'a, Auth>

Performs the conversion.

Derived Implementations

impl Debug for Auth
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Auth
[src]

fn clone(&self) -> Auth

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more