pub enum UpdateSubscriptionTrialEnd {
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.
This will always overwrite any trials that might apply via a subscribed plan.
If set, trial_end
will override the default trial period of the plan the customer is being subscribed to.
The billing_cycle_anchor
will be updated to the trial_end
value.
The special value now
can be provided to end the customer’s trial immediately.
Can be at most two years from billing_cycle_anchor
.
Variants§
Trait Implementations§
Source§impl Clone for UpdateSubscriptionTrialEnd
impl Clone for UpdateSubscriptionTrialEnd
Source§fn clone(&self) -> UpdateSubscriptionTrialEnd
fn clone(&self) -> UpdateSubscriptionTrialEnd
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 UpdateSubscriptionTrialEnd
impl Debug for UpdateSubscriptionTrialEnd
impl Copy for UpdateSubscriptionTrialEnd
Auto Trait Implementations§
impl Freeze for UpdateSubscriptionTrialEnd
impl RefUnwindSafe for UpdateSubscriptionTrialEnd
impl Send for UpdateSubscriptionTrialEnd
impl Sync for UpdateSubscriptionTrialEnd
impl Unpin for UpdateSubscriptionTrialEnd
impl UnwindSafe for UpdateSubscriptionTrialEnd
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