pub struct SubscriptionsResourcePauseCollection {
pub behavior: SubscriptionsResourcePauseCollectionBehavior,
pub resumes_at: Option<Timestamp>,
}Expand description
The Pause Collection settings determine how we will pause collection for this subscription and for how long the subscription. should be paused.
Fields§
§behavior: SubscriptionsResourcePauseCollectionBehaviorThe payment collection behavior for this subscription while paused.
One of keep_as_draft, mark_uncollectible, or void.
resumes_at: Option<Timestamp>The time after which the subscription will resume collecting payments.
Trait Implementations§
Source§impl Clone for SubscriptionsResourcePauseCollection
impl Clone for SubscriptionsResourcePauseCollection
Source§fn clone(&self) -> SubscriptionsResourcePauseCollection
fn clone(&self) -> SubscriptionsResourcePauseCollection
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 FromValueOpt for SubscriptionsResourcePauseCollection
impl FromValueOpt for SubscriptionsResourcePauseCollection
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for SubscriptionsResourcePauseCollection
impl RefUnwindSafe for SubscriptionsResourcePauseCollection
impl Send for SubscriptionsResourcePauseCollection
impl Sync for SubscriptionsResourcePauseCollection
impl Unpin for SubscriptionsResourcePauseCollection
impl UnwindSafe for SubscriptionsResourcePauseCollection
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