pub struct CreateAuthorizationCode {
pub code_hash: String,
pub client_id: String,
pub user_id: Uuid,
pub redirect_uri: String,
pub scope: String,
pub nonce: Option<String>,
pub code_challenge: Option<String>,
pub expires_at: DateTime<Utc>,
}Fields§
§code_hash: String§client_id: String§user_id: Uuid§redirect_uri: String§scope: String§nonce: Option<String>§code_challenge: Option<String>§expires_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for CreateAuthorizationCode
impl Clone for CreateAuthorizationCode
Source§fn clone(&self) -> CreateAuthorizationCode
fn clone(&self) -> CreateAuthorizationCode
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 CreateAuthorizationCode
impl RefUnwindSafe for CreateAuthorizationCode
impl Send for CreateAuthorizationCode
impl Sync for CreateAuthorizationCode
impl Unpin for CreateAuthorizationCode
impl UnsafeUnpin for CreateAuthorizationCode
impl UnwindSafe for CreateAuthorizationCode
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