Struct rocket_simpleauth::userpass::UserPass [] [src]

pub struct UserPass<A> {
    pub user_id: String,
    // some fields omitted
}

Fields

Trait Implementations

impl<'a, 'r, A: Authenticator> FromRequest<'a, 'r> for UserPass<A>
[src]

A request guard that checks if a private cookie was provided

The associated error to be returned if derivation fails.

Derives an instance of Self from the incoming request metadata. Read more