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