#[non_exhaustive]pub enum CreateAccountType {
Custom,
Express,
Standard,
Unknown(String),
}Expand description
The type of Stripe account to create. May be one of custom, express or standard.
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.
Custom
Express
Standard
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for CreateAccountType
impl Clone for CreateAccountType
Source§fn clone(&self) -> CreateAccountType
fn clone(&self) -> CreateAccountType
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 CreateAccountType
Available on non-crate feature redact-generated-debug only.
impl Debug for CreateAccountType
Available on non-crate feature
redact-generated-debug only.Source§impl Display for CreateAccountType
impl Display for CreateAccountType
Source§impl FromStr for CreateAccountType
impl FromStr for CreateAccountType
Source§impl PartialEq for CreateAccountType
impl PartialEq for CreateAccountType
Source§impl Serialize for CreateAccountType
impl Serialize for CreateAccountType
impl Eq for CreateAccountType
impl StructuralPartialEq for CreateAccountType
Auto Trait Implementations§
impl Freeze for CreateAccountType
impl RefUnwindSafe for CreateAccountType
impl Send for CreateAccountType
impl Sync for CreateAccountType
impl Unpin for CreateAccountType
impl UnsafeUnpin for CreateAccountType
impl UnwindSafe for CreateAccountType
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