pub struct TaxProductResourceJurisdiction {
pub country: String,
pub display_name: String,
pub level: TaxProductResourceJurisdictionLevel,
pub state: Option<String>,
}
Fields§
§country: String
Two-letter country code (ISO 3166-1 alpha-2).
display_name: String
A human-readable name for the jurisdiction imposing the tax.
level: TaxProductResourceJurisdictionLevel
Indicates the level of the jurisdiction imposing the tax.
state: Option<String>
ISO 3166-2 subdivision code, without country prefix.
For example, “NY” for New York, United States.
Trait Implementations§
source§impl Clone for TaxProductResourceJurisdiction
impl Clone for TaxProductResourceJurisdiction
source§fn clone(&self) -> TaxProductResourceJurisdiction
fn clone(&self) -> TaxProductResourceJurisdiction
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 TaxProductResourceJurisdiction
impl Default for TaxProductResourceJurisdiction
source§fn default() -> TaxProductResourceJurisdiction
fn default() -> TaxProductResourceJurisdiction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TaxProductResourceJurisdiction
impl<'de> Deserialize<'de> for TaxProductResourceJurisdiction
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 TaxProductResourceJurisdiction
impl Send for TaxProductResourceJurisdiction
impl Sync for TaxProductResourceJurisdiction
impl Unpin for TaxProductResourceJurisdiction
impl UnwindSafe for TaxProductResourceJurisdiction
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