pub struct BillingThresholdsParam {
pub amount_gte: Option<i64>,
pub reset_billing_cycle_anchor: Option<bool>,
}
Fields§
§amount_gte: Option<i64>
Monetary threshold that triggers the subscription to advance to a new billing period
reset_billing_cycle_anchor: Option<bool>
Indicates if the billing_cycle_anchor
should be reset when a threshold is reached.
If true, billing_cycle_anchor
will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged.
Implementations§
Trait Implementations§
Source§impl Clone for BillingThresholdsParam
impl Clone for BillingThresholdsParam
Source§fn clone(&self) -> BillingThresholdsParam
fn clone(&self) -> BillingThresholdsParam
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 BillingThresholdsParam
impl Debug for BillingThresholdsParam
Source§impl Default for BillingThresholdsParam
impl Default for BillingThresholdsParam
Source§impl Serialize for BillingThresholdsParam
impl Serialize for BillingThresholdsParam
impl Copy for BillingThresholdsParam
Auto Trait Implementations§
impl Freeze for BillingThresholdsParam
impl RefUnwindSafe for BillingThresholdsParam
impl Send for BillingThresholdsParam
impl Sync for BillingThresholdsParam
impl Unpin for BillingThresholdsParam
impl UnwindSafe for BillingThresholdsParam
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