Struct stripe::generated::tax_calculation::tax_calculation::TaxProductResourceTaxRateDetails
source · pub struct TaxProductResourceTaxRateDetails {
pub country: Option<String>,
pub percentage_decimal: String,
pub state: Option<String>,
pub tax_type: Option<TaxProductResourceTaxRateDetailsTaxType>,
}
Fields§
§country: Option<String>
Two-letter country code (ISO 3166-1 alpha-2).
percentage_decimal: String
The tax rate percentage as a string.
For example, 8.5% is represented as "8.5"
.
state: Option<String>
State, county, province, or region.
tax_type: Option<TaxProductResourceTaxRateDetailsTaxType>
The tax type, such as vat
or sales_tax
.
Trait Implementations§
source§impl Clone for TaxProductResourceTaxRateDetails
impl Clone for TaxProductResourceTaxRateDetails
source§fn clone(&self) -> TaxProductResourceTaxRateDetails
fn clone(&self) -> TaxProductResourceTaxRateDetails
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 Default for TaxProductResourceTaxRateDetails
impl Default for TaxProductResourceTaxRateDetails
source§fn default() -> TaxProductResourceTaxRateDetails
fn default() -> TaxProductResourceTaxRateDetails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TaxProductResourceTaxRateDetails
impl<'de> Deserialize<'de> for TaxProductResourceTaxRateDetails
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 RefUnwindSafe for TaxProductResourceTaxRateDetails
impl Send for TaxProductResourceTaxRateDetails
impl Sync for TaxProductResourceTaxRateDetails
impl Unpin for TaxProductResourceTaxRateDetails
impl UnwindSafe for TaxProductResourceTaxRateDetails
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