pub struct CountryOfferInfo {
pub offer_country_code: Option<String>,
pub spend_x_amount: Option<String>,
pub offer_type: Option<String>,
pub get_y_amount: Option<String>,
}Expand description
Offer info by country.
This type is not used in any activity, and only used as part of another schema.
Fields§
§offer_country_code: Option<String>Country code for which offer codes may be requested.
spend_x_amount: Option<String>(localized) Spend X amount for that country’s offer.
offer_type: Option<String>Type of offer country is eligible for.
get_y_amount: Option<String>(localized) Get Y amount for that country’s offer.
Trait Implementations§
Source§impl Clone for CountryOfferInfo
impl Clone for CountryOfferInfo
Source§fn clone(&self) -> CountryOfferInfo
fn clone(&self) -> CountryOfferInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CountryOfferInfo
impl Debug for CountryOfferInfo
Source§impl Default for CountryOfferInfo
impl Default for CountryOfferInfo
Source§fn default() -> CountryOfferInfo
fn default() -> CountryOfferInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CountryOfferInfo
impl<'de> Deserialize<'de> for CountryOfferInfo
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
impl Part for CountryOfferInfo
Auto Trait Implementations§
impl Freeze for CountryOfferInfo
impl RefUnwindSafe for CountryOfferInfo
impl Send for CountryOfferInfo
impl Sync for CountryOfferInfo
impl Unpin for CountryOfferInfo
impl UnsafeUnpin for CountryOfferInfo
impl UnwindSafe for CountryOfferInfo
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