pub enum FlowResult {
Complete(Identity),
Redirect(String),
Pending,
}Expand description
Result of an authentication flow execution.
Variants§
Complete(Identity)
The flow is complete and has returned an identity.
Redirect(String)
The flow requires a redirect to another URL.
Pending
The flow is pending (e.g., waiting for user interaction).
Trait Implementations§
Source§impl Clone for FlowResult
impl Clone for FlowResult
Source§fn clone(&self) -> FlowResult
fn clone(&self) -> FlowResult
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 FlowResult
impl Debug for FlowResult
Source§impl<'de> Deserialize<'de> for FlowResult
impl<'de> Deserialize<'de> for FlowResult
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
Auto Trait Implementations§
impl Freeze for FlowResult
impl RefUnwindSafe for FlowResult
impl Send for FlowResult
impl Sync for FlowResult
impl Unpin for FlowResult
impl UnsafeUnpin for FlowResult
impl UnwindSafe for FlowResult
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