#[non_exhaustive]pub enum InteractionFlow {
DisplayTextAndPIN,
ConfirmationMessage,
VerificationCodeChoice,
ConfirmationMessageAndVerificationCodeChoice,
}Expand description
Interaction Flow
This enum represents the different types of interaction flows that can be started on the user’s device. Each variant corresponds to a specific interaction type.
§Variants
DisplayTextAndPIN- Displays a text message and prompts the user to enter a PIN.ConfirmationMessage- Displays a confirmation message with confirm and cancel buttons, then prompts the user to enter a pin.VerificationCodeChoice- Prompts the user to choose a verification code, then enter a pin.ConfirmationMessageAndVerificationCodeChoice- Displays a confirmation message and prompts the user to choose a verification code.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DisplayTextAndPIN
ConfirmationMessage
VerificationCodeChoice
ConfirmationMessageAndVerificationCodeChoice
Trait Implementations§
Source§impl AsRef<str> for InteractionFlow
impl AsRef<str> for InteractionFlow
Source§impl Clone for InteractionFlow
impl Clone for InteractionFlow
Source§fn clone(&self) -> InteractionFlow
fn clone(&self) -> InteractionFlow
Returns a duplicate of the value. Read more
1.0.0 · 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 InteractionFlow
impl Debug for InteractionFlow
Source§impl Default for InteractionFlow
impl Default for InteractionFlow
Source§fn default() -> InteractionFlow
fn default() -> InteractionFlow
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InteractionFlow
impl<'de> Deserialize<'de> for InteractionFlow
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 InteractionFlow
impl PartialEq for InteractionFlow
Source§impl Serialize for InteractionFlow
impl Serialize for InteractionFlow
impl StructuralPartialEq for InteractionFlow
Auto Trait Implementations§
impl Freeze for InteractionFlow
impl RefUnwindSafe for InteractionFlow
impl Send for InteractionFlow
impl Sync for InteractionFlow
impl Unpin for InteractionFlow
impl UnsafeUnpin for InteractionFlow
impl UnwindSafe for InteractionFlow
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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