[][src]Struct oxide_auth::frontends::actix::message::Extract

pub struct Extract {
    pub token: String,
}

Use up an authorization code.

Fields

token: String

The previously generated token.

Each token should only be usable once.

Trait Implementations

impl Message for Extract[src]

type Result = Result<Option<Grant>, ()>

The type of value that this message will resolved with if it is successful. Read more

impl<A: Authorizer + 'static> Handler<Extract> for AsActor<A>[src]

type Result = Result<Option<Grant>, ()>

The type of value that this handle will return

Auto Trait Implementations

impl Unpin for Extract

impl Send for Extract

impl Sync for Extract

impl RefUnwindSafe for Extract

impl UnwindSafe for Extract

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> UnsafeAny for T where
    T: Any

impl<T> IntoCollection<T> for T

impl<T, I> AsResult<T, I> for T where
    I: Input,