Struct stripe::generated::billing::subscription_schedule::CreateSubscriptionSchedulePhasesItemsPriceDataRecurring
source · pub struct CreateSubscriptionSchedulePhasesItemsPriceDataRecurring {
pub interval: CreateSubscriptionSchedulePhasesItemsPriceDataRecurringInterval,
pub interval_count: Option<u64>,
}
Fields§
§interval: CreateSubscriptionSchedulePhasesItemsPriceDataRecurringInterval
Specifies billing frequency.
Either day
, week
, month
or year
.
interval_count: Option<u64>
The number of intervals between subscription billings.
For example, interval=month
and interval_count=3
bills every 3 months.
Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
Trait Implementations§
source§impl Clone for CreateSubscriptionSchedulePhasesItemsPriceDataRecurring
impl Clone for CreateSubscriptionSchedulePhasesItemsPriceDataRecurring
source§fn clone(&self) -> CreateSubscriptionSchedulePhasesItemsPriceDataRecurring
fn clone(&self) -> CreateSubscriptionSchedulePhasesItemsPriceDataRecurring
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 CreateSubscriptionSchedulePhasesItemsPriceDataRecurring
impl Default for CreateSubscriptionSchedulePhasesItemsPriceDataRecurring
source§fn default() -> CreateSubscriptionSchedulePhasesItemsPriceDataRecurring
fn default() -> CreateSubscriptionSchedulePhasesItemsPriceDataRecurring
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateSubscriptionSchedulePhasesItemsPriceDataRecurring
impl<'de> Deserialize<'de> for CreateSubscriptionSchedulePhasesItemsPriceDataRecurring
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 RefUnwindSafe for CreateSubscriptionSchedulePhasesItemsPriceDataRecurring
impl Send for CreateSubscriptionSchedulePhasesItemsPriceDataRecurring
impl Sync for CreateSubscriptionSchedulePhasesItemsPriceDataRecurring
impl Unpin for CreateSubscriptionSchedulePhasesItemsPriceDataRecurring
impl UnwindSafe for CreateSubscriptionSchedulePhasesItemsPriceDataRecurring
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