pub enum CreateSubscriptionTrialEnd {
Now,
Timestamp(Timestamp),
}
Expand description
Unix timestamp representing the end of the trial period the customer will get before being charged for the first time.
If set, trial_end will override the default trial period of the plan the customer is being subscribed to.
The special value now
can be provided to end the customer’s trial immediately.
Can be at most two years from billing_cycle_anchor
.
See Using trial periods on subscriptions to learn more.
Variants§
Trait Implementations§
Source§impl Clone for CreateSubscriptionTrialEnd
impl Clone for CreateSubscriptionTrialEnd
Source§fn clone(&self) -> CreateSubscriptionTrialEnd
fn clone(&self) -> CreateSubscriptionTrialEnd
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 Debug for CreateSubscriptionTrialEnd
impl Debug for CreateSubscriptionTrialEnd
impl Copy for CreateSubscriptionTrialEnd
Auto Trait Implementations§
impl Freeze for CreateSubscriptionTrialEnd
impl RefUnwindSafe for CreateSubscriptionTrialEnd
impl Send for CreateSubscriptionTrialEnd
impl Sync for CreateSubscriptionTrialEnd
impl Unpin for CreateSubscriptionTrialEnd
impl UnwindSafe for CreateSubscriptionTrialEnd
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