pub struct ItemReplacement {
pub base_plan_id: Option<String>,
pub offer_id: Option<String>,
pub product_id: Option<String>,
pub replacement_mode: Option<String>,
}Expand description
Details about a subscription line item that is being replaced.
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 of the subscription line item being replaced.
offer_id: Option<String>The offer ID of the subscription line item being replaced, if applicable.
product_id: Option<String>The product ID of the subscription line item being replaced.
replacement_mode: Option<String>The replacement mode applied during the purchase.
Trait Implementations§
Source§impl Clone for ItemReplacement
impl Clone for ItemReplacement
Source§fn clone(&self) -> ItemReplacement
fn clone(&self) -> ItemReplacement
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 ItemReplacement
impl Debug for ItemReplacement
Source§impl Default for ItemReplacement
impl Default for ItemReplacement
Source§fn default() -> ItemReplacement
fn default() -> ItemReplacement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ItemReplacement
impl<'de> Deserialize<'de> for ItemReplacement
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 ItemReplacement
impl Serialize for ItemReplacement
impl Part for ItemReplacement
Auto Trait Implementations§
impl Freeze for ItemReplacement
impl RefUnwindSafe for ItemReplacement
impl Send for ItemReplacement
impl Sync for ItemReplacement
impl Unpin for ItemReplacement
impl UnwindSafe for ItemReplacement
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