Struct oxide_auth_actix::Resource
source · pub struct Resource(pub OAuthRequest);
Expand description
Resource-related operations
Tuple Fields§
§0: OAuthRequest
Trait Implementations§
source§impl OAuthOperation for Resource
impl OAuthOperation for Resource
§type Error = Result<OAuthResponse, WebError>
type Error = Result<OAuthResponse, WebError>
The error 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 RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnwindSafe for Resource
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