pub struct RegionalTaxConfig {
pub eligible_for_streaming_service_tax_rate: Option<bool>,
pub region_code: Option<String>,
pub streaming_tax_type: Option<String>,
pub tax_tier: Option<String>,
}Expand description
Details about taxation in a given geographical region.
This type is not used in any activity, and only used as part of another schema.
Fields§
§eligible_for_streaming_service_tax_rate: Option<bool>You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.
region_code: Option<String>Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. “US”.
streaming_tax_type: Option<String>To collect communications or amusement taxes in the United States, choose the appropriate tax category. Learn more.
tax_tier: Option<String>Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. Learn more.
Trait Implementations§
Source§impl Clone for RegionalTaxConfig
impl Clone for RegionalTaxConfig
Source§fn clone(&self) -> RegionalTaxConfig
fn clone(&self) -> RegionalTaxConfig
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 RegionalTaxConfig
impl Debug for RegionalTaxConfig
Source§impl Default for RegionalTaxConfig
impl Default for RegionalTaxConfig
Source§fn default() -> RegionalTaxConfig
fn default() -> RegionalTaxConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegionalTaxConfig
impl<'de> Deserialize<'de> for RegionalTaxConfig
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
Source§impl Serialize for RegionalTaxConfig
impl Serialize for RegionalTaxConfig
impl Part for RegionalTaxConfig
Auto Trait Implementations§
impl Freeze for RegionalTaxConfig
impl RefUnwindSafe for RegionalTaxConfig
impl Send for RegionalTaxConfig
impl Sync for RegionalTaxConfig
impl Unpin for RegionalTaxConfig
impl UnwindSafe for RegionalTaxConfig
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