#[non_exhaustive]pub enum AccountBusinessType {
Company,
GovernmentEntity,
Individual,
NonProfit,
Unknown(String),
}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.
Company
GovernmentEntity
Individual
NonProfit
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for AccountBusinessType
impl Clone for AccountBusinessType
Source§fn clone(&self) -> AccountBusinessType
fn clone(&self) -> AccountBusinessType
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 AccountBusinessType
impl Debug for AccountBusinessType
Source§impl Deserialize for AccountBusinessType
impl Deserialize for AccountBusinessType
Source§impl Display for AccountBusinessType
impl Display for AccountBusinessType
Source§impl FromStr for AccountBusinessType
impl FromStr for AccountBusinessType
Source§impl FromValueOpt for AccountBusinessType
impl FromValueOpt for AccountBusinessType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for AccountBusinessType
impl PartialEq for AccountBusinessType
Source§impl Serialize for AccountBusinessType
impl Serialize for AccountBusinessType
impl Eq for AccountBusinessType
impl StructuralPartialEq for AccountBusinessType
Auto Trait Implementations§
impl Freeze for AccountBusinessType
impl RefUnwindSafe for AccountBusinessType
impl Send for AccountBusinessType
impl Sync for AccountBusinessType
impl Unpin for AccountBusinessType
impl UnwindSafe for AccountBusinessType
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