pub struct PauseSubscriptionRequest {
pub pause_effective_date: Option<String>,
pub pause_cycle_duration: Option<i64>,
pub resume_effective_date: Option<String>,
pub resume_change_timing: Option<ChangeTiming>,
pub pause_reason: Option<String>,
}Expand description
This is the model struct for the PauseSubscriptionRequest type.
Fields§
§pause_effective_date: Option<String>The YYYY-MM-DD-formatted date when the scheduled PAUSE action takes place on the
subscription.
When this date is unspecified or falls within the current billing cycle, the subscription is paused on the starting date of the next billing cycle.
pause_cycle_duration: Option<i64>The number of billing cycles the subscription will be paused before it is reactivated.
When this is set, a RESUME action is also scheduled to take place on the subscription at
the end of the specified pause cycle duration. In this case, neither resume_effective_date
nor resume_change_timing may be specified.
resume_effective_date: Option<String>The date when the subscription is reactivated by a scheduled RESUME action. This date must
be at least one billing cycle ahead of pause_effective_date.
resume_change_timing: Option<ChangeTiming>The timing whether the subscription is reactivated immediately or at the end of the billing
cycle, relative to resume_effective_date.
pause_reason: Option<String>The user-provided reason to pause the subscription.
Trait Implementations§
Source§impl Clone for PauseSubscriptionRequest
impl Clone for PauseSubscriptionRequest
Source§fn clone(&self) -> PauseSubscriptionRequest
fn clone(&self) -> PauseSubscriptionRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PauseSubscriptionRequest
impl Debug for PauseSubscriptionRequest
Source§impl Default for PauseSubscriptionRequest
impl Default for PauseSubscriptionRequest
Source§fn default() -> PauseSubscriptionRequest
fn default() -> PauseSubscriptionRequest
Source§impl PartialEq for PauseSubscriptionRequest
impl PartialEq for PauseSubscriptionRequest
Source§impl Serialize for PauseSubscriptionRequest
impl Serialize for PauseSubscriptionRequest
impl Eq for PauseSubscriptionRequest
impl StructuralPartialEq for PauseSubscriptionRequest
Auto Trait Implementations§
impl Freeze for PauseSubscriptionRequest
impl RefUnwindSafe for PauseSubscriptionRequest
impl Send for PauseSubscriptionRequest
impl Sync for PauseSubscriptionRequest
impl Unpin for PauseSubscriptionRequest
impl UnwindSafe for PauseSubscriptionRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.