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
sourceimpl Clone for PauseSubscriptionRequest
impl Clone for PauseSubscriptionRequest
sourcefn clone(&self) -> PauseSubscriptionRequest
fn clone(&self) -> PauseSubscriptionRequest
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for PauseSubscriptionRequest
impl Debug for PauseSubscriptionRequest
sourceimpl Default for PauseSubscriptionRequest
impl Default for PauseSubscriptionRequest
sourcefn default() -> PauseSubscriptionRequest
fn default() -> PauseSubscriptionRequest
sourceimpl PartialEq<PauseSubscriptionRequest> for PauseSubscriptionRequest
impl PartialEq<PauseSubscriptionRequest> for PauseSubscriptionRequest
sourcefn eq(&self, other: &PauseSubscriptionRequest) -> bool
fn eq(&self, other: &PauseSubscriptionRequest) -> bool
sourceimpl Serialize for PauseSubscriptionRequest
impl Serialize for PauseSubscriptionRequest
impl Eq for PauseSubscriptionRequest
impl StructuralEq for PauseSubscriptionRequest
impl StructuralPartialEq for PauseSubscriptionRequest
Auto Trait Implementations
impl RefUnwindSafe for PauseSubscriptionRequest
impl Send for PauseSubscriptionRequest
impl Sync for PauseSubscriptionRequest
impl Unpin for PauseSubscriptionRequest
impl UnwindSafe for PauseSubscriptionRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.