pub struct SubscriptionItemPriceChangeDetails {
pub expected_new_price_charge_time: Option<DateTime<Utc>>,
pub new_price: Option<Money>,
pub price_change_mode: Option<String>,
pub price_change_state: Option<String>,
}Expand description
Price change related information of a subscription item.
This type is not used in any activity, and only used as part of another schema.
Fields§
§expected_new_price_charge_time: Option<DateTime<Utc>>The renewal time at which the price change will become effective for the user. This is subject to change(to a future time) due to cases where the renewal time shifts like pause. This field is only populated if the price change has not taken effect.
new_price: Option<Money>New recurring price for the subscription item.
price_change_mode: Option<String>Price change mode specifies how the subscription item price is changing.
price_change_state: Option<String>State the price change is currently in.
Trait Implementations§
Source§impl Clone for SubscriptionItemPriceChangeDetails
impl Clone for SubscriptionItemPriceChangeDetails
Source§fn clone(&self) -> SubscriptionItemPriceChangeDetails
fn clone(&self) -> SubscriptionItemPriceChangeDetails
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 Default for SubscriptionItemPriceChangeDetails
impl Default for SubscriptionItemPriceChangeDetails
Source§fn default() -> SubscriptionItemPriceChangeDetails
fn default() -> SubscriptionItemPriceChangeDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubscriptionItemPriceChangeDetails
impl<'de> Deserialize<'de> for SubscriptionItemPriceChangeDetails
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 SubscriptionItemPriceChangeDetails
Auto Trait Implementations§
impl Freeze for SubscriptionItemPriceChangeDetails
impl RefUnwindSafe for SubscriptionItemPriceChangeDetails
impl Send for SubscriptionItemPriceChangeDetails
impl Sync for SubscriptionItemPriceChangeDetails
impl Unpin for SubscriptionItemPriceChangeDetails
impl UnsafeUnpin for SubscriptionItemPriceChangeDetails
impl UnwindSafe for SubscriptionItemPriceChangeDetails
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