Enum algorithmia::ApiAuth [] [src]

pub enum ApiAuth {
    ApiKey(String),
    None,
}

Represent the different ways to auth with the API

Variants

Algorithmia API key to use for authentication

Use unauthenticated request (common for on-platform algorithms)

Trait Implementations

impl Clone for ApiAuth
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> From<&'a str> for ApiAuth
[src]

Performs the conversion.

impl From<String> for ApiAuth
[src]

Performs the conversion.

impl From<()> for ApiAuth
[src]

Performs the conversion.