Struct poem_openapi::auth::Bearer
source · [−]pub struct Bearer {
pub token: String,
}
Expand description
Used to extract the token68 from the request.
Fields
token: String
token
Trait Implementations
Extract from the HTTP request.
Auto Trait Implementations
impl RefUnwindSafe for Bearer
impl UnwindSafe for Bearer
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more