#[non_exhaustive]pub enum Params {
OauthParams(Box<OAuthParams>),
GoogleOauthParams(Box<GoogleOAuthParams>),
}Expand description
The params returned by OAuth flow redirect.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
OauthParams(Box<OAuthParams>)
The params returned by non-Google OAuth 2.0 flow redirect.
GoogleOauthParams(Box<GoogleOAuthParams>)
The params returned by Google OAuth flow redirects.
Trait Implementations§
impl StructuralPartialEq for Params
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnsafeUnpin for Params
impl UnwindSafe for Params
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