Struct swagger::auth::Authorization [] [src]

pub struct Authorization {
    pub subject: String,
    pub scopes: Scopes,
}

Storage of authorization parameters for an incoming request, used for REST API authorization.

Fields

Trait Implementations

impl Clone for Authorization
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Authorization
[src]

Formats the value using the given formatter.

impl PartialEq for Authorization
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Key for Authorization
[src]

The value type associated with this key type.