pub struct AuthenticationFlowVerifiers(/* private fields */);Expand description
Single authentication flow.
To log in next time, user should provide one of constructed flows, with the same steps’ order and valid.
Implementations§
Source§impl AuthenticationFlowVerifiers
impl AuthenticationFlowVerifiers
Sourcepub fn with(self, approval: AuthenticationApprovalVerifier) -> Self
pub fn with(self, approval: AuthenticationApprovalVerifier) -> Self
Adds new authentication step approval.
Sourcepub fn as_slice(&self) -> &[AuthenticationApprovalVerifier]
pub fn as_slice(&self) -> &[AuthenticationApprovalVerifier]
Returns approval steps list.
Trait Implementations§
Source§impl Clone for AuthenticationFlowVerifiers
impl Clone for AuthenticationFlowVerifiers
Source§fn clone(&self) -> AuthenticationFlowVerifiers
fn clone(&self) -> AuthenticationFlowVerifiers
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 AuthenticationFlowVerifiers
impl Debug for AuthenticationFlowVerifiers
Source§impl Default for AuthenticationFlowVerifiers
impl Default for AuthenticationFlowVerifiers
Source§fn default() -> AuthenticationFlowVerifiers
fn default() -> AuthenticationFlowVerifiers
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticationFlowVerifiers
impl<'de> Deserialize<'de> for AuthenticationFlowVerifiers
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
impl Eq for AuthenticationFlowVerifiers
Source§impl Hash for AuthenticationFlowVerifiers
impl Hash for AuthenticationFlowVerifiers
Source§impl PartialEq for AuthenticationFlowVerifiers
impl PartialEq for AuthenticationFlowVerifiers
Source§fn eq(&self, other: &AuthenticationFlowVerifiers) -> bool
fn eq(&self, other: &AuthenticationFlowVerifiers) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AuthenticationFlowVerifiers
Auto Trait Implementations§
impl Freeze for AuthenticationFlowVerifiers
impl RefUnwindSafe for AuthenticationFlowVerifiers
impl Send for AuthenticationFlowVerifiers
impl Sync for AuthenticationFlowVerifiers
impl Unpin for AuthenticationFlowVerifiers
impl UnsafeUnpin for AuthenticationFlowVerifiers
impl UnwindSafe for AuthenticationFlowVerifiers
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.