[][src]Struct google_partners2::AvailableOffer

pub struct AvailableOffer {
    pub available: Option<i32>,
    pub country_offer_infos: Option<Vec<CountryOfferInfo>>,
    pub qualified_customer: Option<Vec<OfferCustomer>>,
    pub terms: Option<String>,
    pub name: Option<String>,
    pub max_account_age: Option<i32>,
    pub offer_level: Option<String>,
    pub show_special_offer_copy: Option<bool>,
    pub offer_type: Option<String>,
    pub id: Option<String>,
    pub qualified_customers_complete: Option<bool>,
    pub description: Option<String>,
}

Available Offers to be distributed.

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

Fields

available: Option<i32>

The number of codes for this offer that are available for distribution.

country_offer_infos: Option<Vec<CountryOfferInfo>>

Offer info by country.

qualified_customer: Option<Vec<OfferCustomer>>

Customers who qualify for this offer.

terms: Option<String>

Terms of the offer.

name: Option<String>

Name of the offer.

max_account_age: Option<i32>

The maximum age of an account [in days] to be eligible.

offer_level: Option<String>

Level of this offer.

show_special_offer_copy: Option<bool>

Should special text be shown on the offers page.

offer_type: Option<String>

Type of offer.

id: Option<String>

ID of this offer.

qualified_customers_complete: Option<bool>

Whether or not the list of qualified customers is definitely complete.

description: Option<String>

Description of the offer.

Trait Implementations

impl Part for AvailableOffer[src]

impl Default for AvailableOffer[src]

impl Clone for AvailableOffer[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for AvailableOffer[src]

impl Serialize for AvailableOffer[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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