Struct swagger::Authorization
[−]
[src]
pub struct Authorization { pub subject: String, pub scopes: Option<BTreeSet<String>>, }
Storage of authorization parameters for an incoming request, used for REST API authorization.
Fields
subject: String
scopes: Option<BTreeSet<String>>
Trait Implementations
impl Clone for Authorization
[src]
fn clone(&self) -> Authorization
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 Authorization
[src]
impl PartialEq for Authorization
[src]
fn eq(&self, __arg_0: &Authorization) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Authorization) -> bool
This method tests for !=
.
impl Key for Authorization
[src]
type Value = Authorization
The value type associated with this key type.