#[non_exhaustive]pub enum PersonRaceDetailsRace {
Show 25 variants
AfricanAmerican,
AmericanIndianOrAlaskaNative,
Asian,
AsianIndian,
BlackOrAfricanAmerican,
Chinese,
Ethiopian,
Filipino,
GuamanianOrChamorro,
Haitian,
Jamaican,
Japanese,
Korean,
NativeHawaiian,
NativeHawaiianOrOtherPacificIslander,
Nigerian,
OtherAsian,
OtherBlackOrAfricanAmerican,
OtherPacificIslander,
PreferNotToAnswer,
Samoan,
Somali,
Vietnamese,
White,
Unknown(String),
}
Expand description
The persons race.
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.
AfricanAmerican
AmericanIndianOrAlaskaNative
Asian
AsianIndian
BlackOrAfricanAmerican
Chinese
Ethiopian
Filipino
GuamanianOrChamorro
Haitian
Jamaican
Japanese
Korean
NativeHawaiian
NativeHawaiianOrOtherPacificIslander
Nigerian
OtherAsian
OtherBlackOrAfricanAmerican
OtherPacificIslander
PreferNotToAnswer
Samoan
Somali
Vietnamese
White
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for PersonRaceDetailsRace
impl Clone for PersonRaceDetailsRace
Source§fn clone(&self) -> PersonRaceDetailsRace
fn clone(&self) -> PersonRaceDetailsRace
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 PersonRaceDetailsRace
impl Debug for PersonRaceDetailsRace
Source§impl Deserialize for PersonRaceDetailsRace
impl Deserialize for PersonRaceDetailsRace
Source§impl Display for PersonRaceDetailsRace
impl Display for PersonRaceDetailsRace
Source§impl FromStr for PersonRaceDetailsRace
impl FromStr for PersonRaceDetailsRace
Source§impl FromValueOpt for PersonRaceDetailsRace
impl FromValueOpt for PersonRaceDetailsRace
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PersonRaceDetailsRace
impl PartialEq for PersonRaceDetailsRace
impl Eq for PersonRaceDetailsRace
impl StructuralPartialEq for PersonRaceDetailsRace
Auto Trait Implementations§
impl Freeze for PersonRaceDetailsRace
impl RefUnwindSafe for PersonRaceDetailsRace
impl Send for PersonRaceDetailsRace
impl Sync for PersonRaceDetailsRace
impl Unpin for PersonRaceDetailsRace
impl UnwindSafe for PersonRaceDetailsRace
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