Struct oxide_auth_actix::Token
source · pub struct Token(pub OAuthRequest);
Expand description
Token-related operations
Tuple Fields§
§0: OAuthRequest
Trait Implementations§
source§impl OAuthOperation for Token
impl OAuthOperation for Token
§type Item = OAuthResponse
type Item = OAuthResponse
The success-type produced by an OAuthOperation
source§fn run<E>(self, endpoint: E) -> Result<Self::Item, Self::Error>
fn run<E>(self, endpoint: E) -> Result<Self::Item, Self::Error>
Performs the oxide operation with the provided endpoint
source§fn wrap<Extras>(self, extras: Extras) -> OAuthMessage<Self, Extras>
fn wrap<Extras>(self, extras: Extras) -> OAuthMessage<Self, Extras>
Turn an OAuthOperation into a Message to send to an actor
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnwindSafe for Token
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more