pub struct OAuthCallback {
pub code: String,
pub state: String,
}Expand description
OAuth callback data containing both the authorization code and state (CSRF token)
Fields§
§code: String§state: StringTrait Implementations§
Source§impl Clone for OAuthCallback
impl Clone for OAuthCallback
Source§fn clone(&self) -> OAuthCallback
fn clone(&self) -> OAuthCallback
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 moreAuto Trait Implementations§
impl Freeze for OAuthCallback
impl RefUnwindSafe for OAuthCallback
impl Send for OAuthCallback
impl Sync for OAuthCallback
impl Unpin for OAuthCallback
impl UnsafeUnpin for OAuthCallback
impl UnwindSafe for OAuthCallback
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