pub struct OAuth2State {
pub state: String,
pub code_verifier: Option<String>,
pub redirect_uri: String,
pub created_at: DateTime<Utc>,
pub expires_at: DateTime<Utc>,
}Expand description
OAuth2 state for authorization flow
Fields§
§state: String§code_verifier: Option<String>§redirect_uri: String§created_at: DateTime<Utc>§expires_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for OAuth2State
impl Clone for OAuth2State
Source§fn clone(&self) -> OAuth2State
fn clone(&self) -> OAuth2State
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 OAuth2State
impl RefUnwindSafe for OAuth2State
impl Send for OAuth2State
impl Sync for OAuth2State
impl Unpin for OAuth2State
impl UnwindSafe for OAuth2State
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