#[non_exhaustive]pub enum CreateSourceFlow {
CodeVerification,
None,
Receiver,
Redirect,
Unknown(String),
}Expand description
The authentication flow of the source to create.
flow is one of redirect, receiver, code_verification, none.
It is generally inferred unless a type supports multiple flows.
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.
CodeVerification
None
Receiver
Redirect
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for CreateSourceFlow
impl Clone for CreateSourceFlow
Source§fn clone(&self) -> CreateSourceFlow
fn clone(&self) -> CreateSourceFlow
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 CreateSourceFlow
Available on non-crate feature redact-generated-debug only.
impl Debug for CreateSourceFlow
Available on non-crate feature
redact-generated-debug only.Source§impl Display for CreateSourceFlow
impl Display for CreateSourceFlow
Source§impl FromStr for CreateSourceFlow
impl FromStr for CreateSourceFlow
Source§impl PartialEq for CreateSourceFlow
impl PartialEq for CreateSourceFlow
Source§impl Serialize for CreateSourceFlow
impl Serialize for CreateSourceFlow
impl Eq for CreateSourceFlow
impl StructuralPartialEq for CreateSourceFlow
Auto Trait Implementations§
impl Freeze for CreateSourceFlow
impl RefUnwindSafe for CreateSourceFlow
impl Send for CreateSourceFlow
impl Sync for CreateSourceFlow
impl Unpin for CreateSourceFlow
impl UnsafeUnpin for CreateSourceFlow
impl UnwindSafe for CreateSourceFlow
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