pub struct CallbackResult {
pub code: String,
pub state: Option<String>,
}Expand description
Result from a successful OAuth callback.
Fields§
§code: StringThe authorization code to exchange for tokens.
state: Option<String>Optional state parameter for CSRF protection.
Auto Trait Implementations§
impl Freeze for CallbackResult
impl RefUnwindSafe for CallbackResult
impl Send for CallbackResult
impl Sync for CallbackResult
impl Unpin for CallbackResult
impl UnwindSafe for CallbackResult
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