Struct stripe::CustomerTax
source · pub struct CustomerTax {
pub automatic_tax: CustomerTaxAutomaticTax,
pub ip_address: Option<String>,
pub location: Option<CustomerTaxLocation>,
}
Fields§
§automatic_tax: CustomerTaxAutomaticTax
Surfaces if automatic tax computation is possible given the current customer location information.
ip_address: Option<String>
A recent IP address of the customer used for tax reporting and tax location inference.
location: Option<CustomerTaxLocation>
The customer’s location as identified by Stripe Tax.
Trait Implementations§
source§impl Clone for CustomerTax
impl Clone for CustomerTax
source§fn clone(&self) -> CustomerTax
fn clone(&self) -> CustomerTax
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 CustomerTax
impl Debug for CustomerTax
source§impl Default for CustomerTax
impl Default for CustomerTax
source§fn default() -> CustomerTax
fn default() -> CustomerTax
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CustomerTax
impl<'de> Deserialize<'de> for CustomerTax
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 CustomerTax
impl RefUnwindSafe for CustomerTax
impl Send for CustomerTax
impl Sync for CustomerTax
impl Unpin for CustomerTax
impl UnwindSafe for CustomerTax
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