pub struct CreateAuthorizationCodeRequest<'a> {
pub user_id: Uuid,
pub client_id: &'a str,
pub redirect_uri: &'a str,
pub scope: &'a str,
pub state: Option<&'a str>,
pub nonce: Option<&'a str>,
pub code_challenge: Option<&'a str>,
}Expand description
Input for creating an authorization code.
Fields§
§user_id: Uuid§client_id: &'a str§redirect_uri: &'a str§scope: &'a str§state: Option<&'a str>§nonce: Option<&'a str>§code_challenge: Option<&'a str>Trait Implementations§
Source§impl<'a> Clone for CreateAuthorizationCodeRequest<'a>
impl<'a> Clone for CreateAuthorizationCodeRequest<'a>
Source§fn clone(&self) -> CreateAuthorizationCodeRequest<'a>
fn clone(&self) -> CreateAuthorizationCodeRequest<'a>
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<'a> Debug for CreateAuthorizationCodeRequest<'a>
impl<'a> Debug for CreateAuthorizationCodeRequest<'a>
impl<'a> Copy for CreateAuthorizationCodeRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateAuthorizationCodeRequest<'a>
impl<'a> RefUnwindSafe for CreateAuthorizationCodeRequest<'a>
impl<'a> Send for CreateAuthorizationCodeRequest<'a>
impl<'a> Sync for CreateAuthorizationCodeRequest<'a>
impl<'a> Unpin for CreateAuthorizationCodeRequest<'a>
impl<'a> UnsafeUnpin for CreateAuthorizationCodeRequest<'a>
impl<'a> UnwindSafe for CreateAuthorizationCodeRequest<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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