pub struct SubscriptionsResourcePauseCollection {
pub behavior: SubscriptionsResourcePauseCollectionBehavior,
pub resumes_at: Option<Timestamp>,
}
Fields§
§behavior: SubscriptionsResourcePauseCollectionBehavior
The 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 copy 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 Default for SubscriptionsResourcePauseCollection
impl Default for SubscriptionsResourcePauseCollection
source§fn default() -> SubscriptionsResourcePauseCollection
fn default() -> SubscriptionsResourcePauseCollection
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SubscriptionsResourcePauseCollection
impl<'de> Deserialize<'de> for SubscriptionsResourcePauseCollection
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