pub struct OfferDetails {
pub base_plan_id: Option<String>,
pub offer_id: Option<String>,
pub offer_tags: Option<Vec<String>>,
}Expand description
Offer details information related to a purchase line item.
This type is not used in any activity, and only used as part of another schema.
Fields§
§base_plan_id: Option<String>The base plan ID. Present for all base plan and offers.
offer_id: Option<String>The offer ID. Only present for discounted offers.
The latest offer tags associated with the offer. It includes tags inherited from the base plan.
Trait Implementations§
Source§impl Clone for OfferDetails
impl Clone for OfferDetails
Source§fn clone(&self) -> OfferDetails
fn clone(&self) -> OfferDetails
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 OfferDetails
impl Debug for OfferDetails
Source§impl Default for OfferDetails
impl Default for OfferDetails
Source§fn default() -> OfferDetails
fn default() -> OfferDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OfferDetails
impl<'de> Deserialize<'de> for OfferDetails
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 OfferDetails
Auto Trait Implementations§
impl Freeze for OfferDetails
impl RefUnwindSafe for OfferDetails
impl Send for OfferDetails
impl Sync for OfferDetails
impl Unpin for OfferDetails
impl UnsafeUnpin for OfferDetails
impl UnwindSafe for OfferDetails
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