pub struct SubscriptionOfferTargeting {
pub acquisition_rule: Option<AcquisitionTargetingRule>,
pub upgrade_rule: Option<UpgradeTargetingRule>,
}Expand description
Defines the rule a user needs to satisfy to receive this offer.
This type is not used in any activity, and only used as part of another schema.
Fields§
§acquisition_rule: Option<AcquisitionTargetingRule>Offer targeting rule for new user acquisition.
upgrade_rule: Option<UpgradeTargetingRule>Offer targeting rule for upgrading users’ existing plans.
Trait Implementations§
Source§impl Clone for SubscriptionOfferTargeting
impl Clone for SubscriptionOfferTargeting
Source§fn clone(&self) -> SubscriptionOfferTargeting
fn clone(&self) -> SubscriptionOfferTargeting
Returns a duplicate 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 SubscriptionOfferTargeting
impl Debug for SubscriptionOfferTargeting
Source§impl Default for SubscriptionOfferTargeting
impl Default for SubscriptionOfferTargeting
Source§fn default() -> SubscriptionOfferTargeting
fn default() -> SubscriptionOfferTargeting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubscriptionOfferTargeting
impl<'de> Deserialize<'de> for SubscriptionOfferTargeting
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 SubscriptionOfferTargeting
Auto Trait Implementations§
impl Freeze for SubscriptionOfferTargeting
impl RefUnwindSafe for SubscriptionOfferTargeting
impl Send for SubscriptionOfferTargeting
impl Sync for SubscriptionOfferTargeting
impl Unpin for SubscriptionOfferTargeting
impl UnwindSafe for SubscriptionOfferTargeting
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