Enum swagger::AuthData
[−]
[src]
pub enum AuthData { Basic(Basic), Bearer(Bearer), ApiKey(String), }
Storage of raw authentication data, used both for storing incoming request authentication, and for authenticating outgoing client requests.
Variants
Basic(Basic)
HTTP Basic auth.
Bearer(Bearer)
HTTP Bearer auth, used for OAuth2.
ApiKey(String)
Header-based or query parameter-based API key auth.
Trait Implementations
impl Clone for AuthData
[src]
fn clone(&self) -> AuthData
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
impl Debug for AuthData
[src]
impl PartialEq for AuthData
[src]
fn eq(&self, __arg_0: &AuthData) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AuthData) -> bool
This method tests for !=
.