Enum algorithmia::ApiAuth
[−]
[src]
pub enum ApiAuth { ApiKey(String), None, }
Represent the different ways to auth with the API
Variants
ApiKey(String)
Algorithmia API key to use for authentication
None
Use unauthenticated request (common for on-platform algorithms)
Trait Implementations
impl Clone for ApiAuth
[src]
fn clone(&self) -> ApiAuth
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