pub struct DeviceCodeRedemptionResult<A, R> {
pub claimed_device_code: DeviceCode,
pub authorization_context: A,
pub redemption_context: R,
pub user: UserView,
}Expand description
A consumed device code and the state needed by its token issuer.
Fields§
§claimed_device_code: DeviceCodeThe actual consumed row, including its bound user identifier.
The state returned by the authorization callback.
redemption_context: RThe state returned by the preparation callback.
user: UserViewThe user projected through the active schema before consumption, including hidden fields.
Auto Trait Implementations§
impl<A, R> Freeze for DeviceCodeRedemptionResult<A, R>
impl<A, R> RefUnwindSafe for DeviceCodeRedemptionResult<A, R>where
A: RefUnwindSafe,
R: RefUnwindSafe,
impl<A, R> Send for DeviceCodeRedemptionResult<A, R>
impl<A, R> Sync for DeviceCodeRedemptionResult<A, R>
impl<A, R> Unpin for DeviceCodeRedemptionResult<A, R>
impl<A, R> UnsafeUnpin for DeviceCodeRedemptionResult<A, R>where
A: UnsafeUnpin,
R: UnsafeUnpin,
impl<A, R> UnwindSafe for DeviceCodeRedemptionResult<A, R>where
A: UnwindSafe,
R: UnwindSafe,
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