Struct google_partners2::api::OfferCustomer
source · pub struct OfferCustomer {
pub adwords_url: Option<String>,
pub offer_type: Option<String>,
pub external_cid: Option<i64>,
pub country_code: Option<String>,
pub creation_time: Option<DateTime<Utc>>,
pub eligibility_days_left: Option<i32>,
pub get_y_amount: Option<String>,
pub name: Option<String>,
pub spend_x_amount: Option<String>,
}
Expand description
Customers qualified for an offer.
This type is not used in any activity, and only used as part of another schema.
Fields§
§adwords_url: Option<String>
URL to the customer’s AdWords page.
offer_type: Option<String>
Type of the offer
external_cid: Option<i64>
External CID for the customer.
country_code: Option<String>
Country code of the customer.
creation_time: Option<DateTime<Utc>>
Time the customer was created.
eligibility_days_left: Option<i32>
Days the customer is still eligible.
get_y_amount: Option<String>
Formatted Get Y amount with currency code.
name: Option<String>
Name of the customer.
spend_x_amount: Option<String>
Formatted Spend X amount with currency code.
Trait Implementations§
source§impl Clone for OfferCustomer
impl Clone for OfferCustomer
source§fn clone(&self) -> OfferCustomer
fn clone(&self) -> OfferCustomer
Returns a copy 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 OfferCustomer
impl Debug for OfferCustomer
source§impl Default for OfferCustomer
impl Default for OfferCustomer
source§fn default() -> OfferCustomer
fn default() -> OfferCustomer
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OfferCustomer
impl<'de> Deserialize<'de> for OfferCustomer
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 OfferCustomer
impl Serialize for OfferCustomer
impl Part for OfferCustomer
Auto Trait Implementations§
impl RefUnwindSafe for OfferCustomer
impl Send for OfferCustomer
impl Sync for OfferCustomer
impl Unpin for OfferCustomer
impl UnwindSafe for OfferCustomer
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