Struct stripe::CustomerTaxLocation
source · pub struct CustomerTaxLocation {
pub country: String,
pub source: CustomerTaxLocationSource,
pub state: Option<String>,
}
Fields§
§country: String
The customer’s country as identified by Stripe Tax.
source: CustomerTaxLocationSource
The data source used to infer the customer’s location.
state: Option<String>
The customer’s state, county, province, or region as identified by Stripe Tax.
Trait Implementations§
source§impl Clone for CustomerTaxLocation
impl Clone for CustomerTaxLocation
source§fn clone(&self) -> CustomerTaxLocation
fn clone(&self) -> CustomerTaxLocation
Returns a copy 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 CustomerTaxLocation
impl Debug for CustomerTaxLocation
source§impl Default for CustomerTaxLocation
impl Default for CustomerTaxLocation
source§fn default() -> CustomerTaxLocation
fn default() -> CustomerTaxLocation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CustomerTaxLocation
impl<'de> Deserialize<'de> for CustomerTaxLocation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CustomerTaxLocation
impl RefUnwindSafe for CustomerTaxLocation
impl Send for CustomerTaxLocation
impl Sync for CustomerTaxLocation
impl Unpin for CustomerTaxLocation
impl UnwindSafe for CustomerTaxLocation
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