pub struct CustomTokenResponseFieldsInput {
pub grant_type: GrantType,
pub user: Option<User>,
pub scopes: Vec<String>,
pub metadata: Option<Value>,
}Expand description
Input passed to custom token response field callbacks.
Fields§
§grant_type: GrantType§user: Option<User>§scopes: Vec<String>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for CustomTokenResponseFieldsInput
impl Clone for CustomTokenResponseFieldsInput
Source§fn clone(&self) -> CustomTokenResponseFieldsInput
fn clone(&self) -> CustomTokenResponseFieldsInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for CustomTokenResponseFieldsInput
impl PartialEq for CustomTokenResponseFieldsInput
Source§fn eq(&self, other: &CustomTokenResponseFieldsInput) -> bool
fn eq(&self, other: &CustomTokenResponseFieldsInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CustomTokenResponseFieldsInput
Auto Trait Implementations§
impl Freeze for CustomTokenResponseFieldsInput
impl RefUnwindSafe for CustomTokenResponseFieldsInput
impl Send for CustomTokenResponseFieldsInput
impl Sync for CustomTokenResponseFieldsInput
impl Unpin for CustomTokenResponseFieldsInput
impl UnsafeUnpin for CustomTokenResponseFieldsInput
impl UnwindSafe for CustomTokenResponseFieldsInput
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