pub enum CreatePreviewInvoiceSubscriptionDetailsCancelAt {
MaxPeriodEnd,
MinPeriodEnd,
Timestamp(Timestamp),
}
Expand description
A timestamp at which the subscription should cancel.
If set to a date before the current period ends, this will cause a proration if prorations have been enabled using proration_behavior
.
If set during a future period, this will always cause a proration for that period.
Variants§
Trait Implementations§
Source§impl Clone for CreatePreviewInvoiceSubscriptionDetailsCancelAt
impl Clone for CreatePreviewInvoiceSubscriptionDetailsCancelAt
Source§fn clone(&self) -> CreatePreviewInvoiceSubscriptionDetailsCancelAt
fn clone(&self) -> CreatePreviewInvoiceSubscriptionDetailsCancelAt
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 moreimpl Copy for CreatePreviewInvoiceSubscriptionDetailsCancelAt
Auto Trait Implementations§
impl Freeze for CreatePreviewInvoiceSubscriptionDetailsCancelAt
impl RefUnwindSafe for CreatePreviewInvoiceSubscriptionDetailsCancelAt
impl Send for CreatePreviewInvoiceSubscriptionDetailsCancelAt
impl Sync for CreatePreviewInvoiceSubscriptionDetailsCancelAt
impl Unpin for CreatePreviewInvoiceSubscriptionDetailsCancelAt
impl UnwindSafe for CreatePreviewInvoiceSubscriptionDetailsCancelAt
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