Struct oxide_auth_actix::ClientCredentials
source · pub struct ClientCredentials(pub OAuthRequest);
Expand description
Client Credentials related operations
Tuple Fields§
§0: OAuthRequest
Trait Implementations§
source§impl OAuthOperation for ClientCredentials
impl OAuthOperation for ClientCredentials
§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 ClientCredentials
impl RefUnwindSafe for ClientCredentials
impl Send for ClientCredentials
impl Sync for ClientCredentials
impl Unpin for ClientCredentials
impl UnwindSafe for ClientCredentials
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