#[non_exhaustive]pub enum CustomerTaxLocationSource {
BillingAddress,
IpAddress,
PaymentMethod,
ShippingDestination,
Unknown(String),
}Expand description
The data source used to infer the customer’s location.
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.
BillingAddress
IpAddress
PaymentMethod
ShippingDestination
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for CustomerTaxLocationSource
impl Clone for CustomerTaxLocationSource
Source§fn clone(&self) -> CustomerTaxLocationSource
fn clone(&self) -> CustomerTaxLocationSource
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 CustomerTaxLocationSource
impl Debug for CustomerTaxLocationSource
Source§impl Display for CustomerTaxLocationSource
impl Display for CustomerTaxLocationSource
Source§impl FromStr for CustomerTaxLocationSource
impl FromStr for CustomerTaxLocationSource
Source§impl FromValueOpt for CustomerTaxLocationSource
impl FromValueOpt for CustomerTaxLocationSource
fn from_value(v: Value) -> Option<Self>
impl Eq for CustomerTaxLocationSource
impl StructuralPartialEq for CustomerTaxLocationSource
Auto Trait Implementations§
impl Freeze for CustomerTaxLocationSource
impl RefUnwindSafe for CustomerTaxLocationSource
impl Send for CustomerTaxLocationSource
impl Sync for CustomerTaxLocationSource
impl Unpin for CustomerTaxLocationSource
impl UnwindSafe for CustomerTaxLocationSource
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