pub struct NewAuthorizationCode {
pub id: Uuid,
pub code_hash: String,
pub client_id: String,
pub user_id: Uuid,
pub scopes: Option<Value>,
pub redirect_uri: String,
pub code_challenge: String,
pub code_challenge_method: String,
pub expires_at: NaiveDateTime,
pub used: bool,
pub nonce: Option<String>,
pub created_at: NaiveDateTime,
}Fields§
§id: Uuid§code_hash: String§client_id: String§user_id: Uuid§scopes: Option<Value>§redirect_uri: String§code_challenge: String§code_challenge_method: String§expires_at: NaiveDateTime§used: bool§nonce: Option<String>§created_at: NaiveDateTimeTrait Implementations§
Source§impl Clone for NewAuthorizationCode
impl Clone for NewAuthorizationCode
Source§fn clone(&self) -> NewAuthorizationCode
fn clone(&self) -> NewAuthorizationCode
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 moreSource§impl Debug for NewAuthorizationCode
impl Debug for NewAuthorizationCode
Source§impl<'de> Deserialize<'de> for NewAuthorizationCode
impl<'de> Deserialize<'de> for NewAuthorizationCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NewAuthorizationCode
impl RefUnwindSafe for NewAuthorizationCode
impl Send for NewAuthorizationCode
impl Sync for NewAuthorizationCode
impl Unpin for NewAuthorizationCode
impl UnsafeUnpin for NewAuthorizationCode
impl UnwindSafe for NewAuthorizationCode
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