pub struct WrappedRequest<R>where
R: WebRequest,{ /* private fields */ }
Implementations§
Source§impl<'a, R> WrappedRequest<R>where
R: WebRequest + 'a,
impl<'a, R> WrappedRequest<R>where
R: WebRequest + 'a,
Trait Implementations§
Source§impl<R> Clone for WrappedRequest<R>
impl<R> Clone for WrappedRequest<R>
Source§fn clone(&self) -> WrappedRequest<R>
fn clone(&self) -> WrappedRequest<R>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<R> Request for WrappedRequest<R>where
R: WebRequest,
impl<R> Request for WrappedRequest<R>where
R: WebRequest,
Source§fn valid(&self) -> bool
fn valid(&self) -> bool
Received request might not be encoded correctly. This method gives implementors the chance
to signal that a request was received but its encoding was generally malformed. If this is
the case, then no other attribute will be queried. This method exists mainly to make
frontends straightforward by not having them handle special cases for malformed requests.
Source§fn client_id(&self) -> Option<Cow<'_, str>>
fn client_id(&self) -> Option<Cow<'_, str>>
Identity of the client trying to gain an oauth token.
Source§fn redirect_uri(&self) -> Option<Cow<'_, str>>
fn redirect_uri(&self) -> Option<Cow<'_, str>>
Valid request have (one of) the registered redirect urls for this client.
Source§fn state(&self) -> Option<Cow<'_, str>>
fn state(&self) -> Option<Cow<'_, str>>
Optional parameter the client can use to identify the redirected user-agent.
Auto Trait Implementations§
impl<R> Freeze for WrappedRequest<R>
impl<R> RefUnwindSafe for WrappedRequest<R>
impl<R> Send for WrappedRequest<R>
impl<R> Sync for WrappedRequest<R>
impl<R> Unpin for WrappedRequest<R>
impl<R> UnwindSafe for WrappedRequest<R>
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