pub struct NativeAuthorizationResultRow {
pub state: String,
pub code: String,
pub created_at: i64,
pub expires_at: i64,
}Expand description
A native-flow authorization code, stored server-side keyed by state
until the polling client retrieves it (take_native_authorization_result
is a one-shot read-and-delete).
Fields§
§state: String§code: String§created_at: i64§expires_at: i64Trait Implementations§
Source§impl Clone for NativeAuthorizationResultRow
impl Clone for NativeAuthorizationResultRow
Source§fn clone(&self) -> NativeAuthorizationResultRow
fn clone(&self) -> NativeAuthorizationResultRow
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 Debug for NativeAuthorizationResultRow
impl Debug for NativeAuthorizationResultRow
Source§impl<'de> Deserialize<'de> for NativeAuthorizationResultRow
impl<'de> Deserialize<'de> for NativeAuthorizationResultRow
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
Source§impl PartialEq for NativeAuthorizationResultRow
impl PartialEq for NativeAuthorizationResultRow
Source§fn eq(&self, other: &NativeAuthorizationResultRow) -> bool
fn eq(&self, other: &NativeAuthorizationResultRow) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NativeAuthorizationResultRow
impl StructuralPartialEq for NativeAuthorizationResultRow
Auto Trait Implementations§
impl Freeze for NativeAuthorizationResultRow
impl RefUnwindSafe for NativeAuthorizationResultRow
impl Send for NativeAuthorizationResultRow
impl Sync for NativeAuthorizationResultRow
impl Unpin for NativeAuthorizationResultRow
impl UnsafeUnpin for NativeAuthorizationResultRow
impl UnwindSafe for NativeAuthorizationResultRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more