Struct google_partners2::AvailableOffer
[−]
[src]
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 description: 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 name: 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.
description: Option<String>
Description 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.
name: Option<String>
Name of the offer.
Trait Implementations
impl Default for AvailableOffer
[src]
fn default() -> AvailableOffer
[src]
Returns the "default value" for a type. Read more
impl Clone for AvailableOffer
[src]
fn clone(&self) -> AvailableOffer
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more