pub struct TaxProductResourceCustomerDetails {
pub address: Option<TaxProductResourcePostalAddress>,
pub address_source: Option<TaxProductResourceCustomerDetailsAddressSource>,
pub ip_address: Option<String>,
pub tax_ids: Vec<TaxProductResourceCustomerDetailsResourceTaxId>,
pub taxability_override: TaxProductResourceCustomerDetailsTaxabilityOverride,
}Fields§
§address: Option<TaxProductResourcePostalAddress>The customer’s postal address (for example, home or business location).
address_source: Option<TaxProductResourceCustomerDetailsAddressSource>The type of customer address provided.
ip_address: Option<String>The customer’s IP address (IPv4 or IPv6).
tax_ids: Vec<TaxProductResourceCustomerDetailsResourceTaxId>The customer’s tax IDs (for example, EU VAT numbers).
taxability_override: TaxProductResourceCustomerDetailsTaxabilityOverrideThe taxability override used for taxation.
Trait Implementations§
Source§impl Clone for TaxProductResourceCustomerDetails
impl Clone for TaxProductResourceCustomerDetails
Source§fn clone(&self) -> TaxProductResourceCustomerDetails
fn clone(&self) -> TaxProductResourceCustomerDetails
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 FromValueOpt for TaxProductResourceCustomerDetails
impl FromValueOpt for TaxProductResourceCustomerDetails
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for TaxProductResourceCustomerDetails
impl RefUnwindSafe for TaxProductResourceCustomerDetails
impl Send for TaxProductResourceCustomerDetails
impl Sync for TaxProductResourceCustomerDetails
impl Unpin for TaxProductResourceCustomerDetails
impl UnwindSafe for TaxProductResourceCustomerDetails
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