[][src]Struct google_content2::AccountTaxTaxRule

pub struct AccountTaxTaxRule {
    pub country: Option<String>,
    pub rate_percent: Option<String>,
    pub shipping_taxed: Option<bool>,
    pub location_id: Option<String>,
    pub use_global_rate: Option<bool>,
}

Tax calculation rule to apply in a state or province (USA only).

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

Fields

country: Option<String>

Country code in which tax is applicable.

rate_percent: Option<String>

Explicit tax rate in percent, represented as a floating point number without the percentage character. Must not be negative.

shipping_taxed: Option<bool>

If true, shipping charges are also taxed.

location_id: Option<String>

Required. State (or province) is which the tax is applicable, described by its location ID (also called criteria ID).

use_global_rate: Option<bool>

Whether the tax rate is taken from a global tax table or specified explicitly.

Trait Implementations

impl Clone for AccountTaxTaxRule[src]

impl Debug for AccountTaxTaxRule[src]

impl Default for AccountTaxTaxRule[src]

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

impl Part for AccountTaxTaxRule[src]

impl Serialize for AccountTaxTaxRule[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