pub struct AuthMachineState {Show 14 fields
pub lifecycle_phase: AuthLifecyclePhase,
pub expires_at: Option<u64>,
pub last_refresh: Option<u64>,
pub refresh_attempt: u64,
pub credential_present: bool,
pub oauth_browser_flow_ids: BTreeSet<String>,
pub oauth_browser_flow_providers: BTreeMap<String, String>,
pub oauth_browser_flow_redirect_uris: BTreeMap<String, String>,
pub oauth_browser_flow_expires_at_millis: BTreeMap<String, u64>,
pub oauth_device_flow_ids: BTreeSet<String>,
pub oauth_device_flow_providers: BTreeMap<String, String>,
pub oauth_device_flow_expires_at_millis: BTreeMap<String, u64>,
pub oauth_device_poll_ids: BTreeSet<String>,
pub oauth_outstanding_flow_count: u64,
}Fields§
§lifecycle_phase: AuthLifecyclePhase§expires_at: Option<u64>§last_refresh: Option<u64>§refresh_attempt: u64§credential_present: bool§oauth_browser_flow_ids: BTreeSet<String>§oauth_browser_flow_providers: BTreeMap<String, String>§oauth_browser_flow_redirect_uris: BTreeMap<String, String>§oauth_browser_flow_expires_at_millis: BTreeMap<String, u64>§oauth_device_flow_ids: BTreeSet<String>§oauth_device_flow_providers: BTreeMap<String, String>§oauth_device_flow_expires_at_millis: BTreeMap<String, u64>§oauth_device_poll_ids: BTreeSet<String>§oauth_outstanding_flow_count: u64Implementations§
Source§impl AuthMachineState
impl AuthMachineState
pub fn phase(&self) -> AuthLifecyclePhase
Source§impl AuthMachineState
impl AuthMachineState
pub fn schema() -> MachineSchema
Trait Implementations§
Source§impl Clone for AuthMachineState
impl Clone for AuthMachineState
Source§fn clone(&self) -> AuthMachineState
fn clone(&self) -> AuthMachineState
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 AuthMachineState
impl Debug for AuthMachineState
Source§impl Default for AuthMachineState
impl Default for AuthMachineState
Source§impl PartialEq for AuthMachineState
impl PartialEq for AuthMachineState
Source§fn eq(&self, other: &AuthMachineState) -> bool
fn eq(&self, other: &AuthMachineState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AuthMachineState
impl StructuralPartialEq for AuthMachineState
Auto Trait Implementations§
impl Freeze for AuthMachineState
impl RefUnwindSafe for AuthMachineState
impl Send for AuthMachineState
impl Sync for AuthMachineState
impl Unpin for AuthMachineState
impl UnsafeUnpin for AuthMachineState
impl UnwindSafe for AuthMachineState
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.