[][src]Struct google_content2::ProductTax

pub struct ProductTax {
    pub rate: Option<f64>,
    pub location_id: Option<String>,
    pub postal_code: Option<String>,
    pub country: Option<String>,
    pub region: Option<String>,
    pub tax_ship: Option<bool>,
}

There is no detailed description.

This type is not used in any activity, and only used as part of another schema.

Fields

rate: Option<f64>

The percentage of tax rate that applies to the item price.

location_id: Option<String>

The numeric ID of a location that the tax rate applies to as defined in the AdWords API.

postal_code: Option<String>

The postal code range that the tax rate applies to, represented by a ZIP code, a ZIP code prefix using * wildcard, a range between two ZIP codes or two ZIP code prefixes of equal length. Examples: 94114, 94*, 94002-95460, 94*-95*.

country: Option<String>

The country within which the item is taxed, specified as a CLDR territory code.

region: Option<String>

The geographic region to which the tax rate applies.

tax_ship: Option<bool>

Set to true if tax is charged on shipping.

Trait Implementations

impl Clone for ProductTax[src]

impl Debug for ProductTax[src]

impl Default for ProductTax[src]

impl<'de> Deserialize<'de> for ProductTax[src]

impl Part for ProductTax[src]

impl Serialize for ProductTax[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any