pub struct ProductLineItem {
pub product_id: Option<String>,
pub product_offer_details: Option<ProductOfferDetails>,
}Expand description
Contains item-level info for a ProductPurchaseV2.
This type is not used in any activity, and only used as part of another schema.
Fields§
§product_id: Option<String>The purchased product ID (for example, ‘monthly001’).
product_offer_details: Option<ProductOfferDetails>The offer details for this item.
Trait Implementations§
Source§impl Clone for ProductLineItem
impl Clone for ProductLineItem
Source§fn clone(&self) -> ProductLineItem
fn clone(&self) -> ProductLineItem
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 ProductLineItem
impl Debug for ProductLineItem
Source§impl Default for ProductLineItem
impl Default for ProductLineItem
Source§fn default() -> ProductLineItem
fn default() -> ProductLineItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProductLineItem
impl<'de> Deserialize<'de> for ProductLineItem
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 ProductLineItem
impl Serialize for ProductLineItem
impl Part for ProductLineItem
Auto Trait Implementations§
impl Freeze for ProductLineItem
impl RefUnwindSafe for ProductLineItem
impl Send for ProductLineItem
impl Sync for ProductLineItem
impl Unpin for ProductLineItem
impl UnwindSafe for ProductLineItem
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