pub struct CustomerTaxLocation {
pub country: String,
pub source: CustomerTaxLocationSource,
pub state: Option<String>,
}
Fields§
§country: String
The identified tax country of the customer.
source: CustomerTaxLocationSource
The data source used to infer the customer’s location.
state: Option<String>
The identified tax state, county, province, or region of the customer.
Trait Implementations§
Source§impl Clone for CustomerTaxLocation
impl Clone for CustomerTaxLocation
Source§fn clone(&self) -> CustomerTaxLocation
fn clone(&self) -> CustomerTaxLocation
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 CustomerTaxLocation
impl Debug for CustomerTaxLocation
Source§impl Deserialize for CustomerTaxLocation
impl Deserialize for CustomerTaxLocation
Source§impl FromValueOpt for CustomerTaxLocation
impl FromValueOpt for CustomerTaxLocation
fn from_value(v: Value) -> Option<Self>
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