pub struct SubscriptionDeferralInfo {
pub desired_expiry_time_millis: Option<i64>,
pub expected_expiry_time_millis: Option<i64>,
}Expand description
A SubscriptionDeferralInfo contains the data needed to defer a subscription purchase to a future expiry time.
This type is not used in any activity, and only used as part of another schema.
Fields§
§desired_expiry_time_millis: Option<i64>The desired next expiry time to assign to the subscription, in milliseconds since the Epoch. The given time must be later/greater than the current expiry time for the subscription.
expected_expiry_time_millis: Option<i64>The expected expiry time for the subscription. If the current expiry time for the subscription is not the value specified here, the deferral will not occur.
Trait Implementations§
Source§impl Clone for SubscriptionDeferralInfo
impl Clone for SubscriptionDeferralInfo
Source§fn clone(&self) -> SubscriptionDeferralInfo
fn clone(&self) -> SubscriptionDeferralInfo
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 SubscriptionDeferralInfo
impl Debug for SubscriptionDeferralInfo
Source§impl Default for SubscriptionDeferralInfo
impl Default for SubscriptionDeferralInfo
Source§fn default() -> SubscriptionDeferralInfo
fn default() -> SubscriptionDeferralInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubscriptionDeferralInfo
impl<'de> Deserialize<'de> for SubscriptionDeferralInfo
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 SubscriptionDeferralInfo
impl Serialize for SubscriptionDeferralInfo
impl Part for SubscriptionDeferralInfo
Auto Trait Implementations§
impl Freeze for SubscriptionDeferralInfo
impl RefUnwindSafe for SubscriptionDeferralInfo
impl Send for SubscriptionDeferralInfo
impl Sync for SubscriptionDeferralInfo
impl Unpin for SubscriptionDeferralInfo
impl UnwindSafe for SubscriptionDeferralInfo
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