pub struct UpdateSubscriptionPendingInvoiceItemInterval {
pub interval: PlanInterval,
pub interval_count: Option<u64>,
}
Fields§
§interval: PlanInterval
Specifies invoicing frequency.
Either day
, week
, month
or year
.
interval_count: Option<u64>
The number of intervals between invoices.
For example, interval=month
and interval_count=3
bills every 3 months.
Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
Trait Implementations§
source§impl Clone for UpdateSubscriptionPendingInvoiceItemInterval
impl Clone for UpdateSubscriptionPendingInvoiceItemInterval
source§fn clone(&self) -> UpdateSubscriptionPendingInvoiceItemInterval
fn clone(&self) -> UpdateSubscriptionPendingInvoiceItemInterval
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 UpdateSubscriptionPendingInvoiceItemInterval
impl Default for UpdateSubscriptionPendingInvoiceItemInterval
source§fn default() -> UpdateSubscriptionPendingInvoiceItemInterval
fn default() -> UpdateSubscriptionPendingInvoiceItemInterval
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateSubscriptionPendingInvoiceItemInterval
impl<'de> Deserialize<'de> for UpdateSubscriptionPendingInvoiceItemInterval
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
Auto Trait Implementations§
impl Freeze for UpdateSubscriptionPendingInvoiceItemInterval
impl RefUnwindSafe for UpdateSubscriptionPendingInvoiceItemInterval
impl Send for UpdateSubscriptionPendingInvoiceItemInterval
impl Sync for UpdateSubscriptionPendingInvoiceItemInterval
impl Unpin for UpdateSubscriptionPendingInvoiceItemInterval
impl UnwindSafe for UpdateSubscriptionPendingInvoiceItemInterval
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