pub struct CreateSubscriptionBillingMode {
pub flexible: Option<CreateSubscriptionBillingModeFlexible>,
pub type_: CreateSubscriptionBillingModeType,
}
Expand description
Controls how prorations and invoices for subscriptions are calculated and orchestrated.
Fields§
§flexible: Option<CreateSubscriptionBillingModeFlexible>
Configure behavior for flexible billing mode.
type_: CreateSubscriptionBillingModeType
Controls the calculation and orchestration of prorations and invoices for subscriptions.
If no value is passed, the default is flexible
.
Implementations§
Source§impl CreateSubscriptionBillingMode
impl CreateSubscriptionBillingMode
pub fn new(type_: impl Into<CreateSubscriptionBillingModeType>) -> Self
Trait Implementations§
Source§impl Clone for CreateSubscriptionBillingMode
impl Clone for CreateSubscriptionBillingMode
Source§fn clone(&self) -> CreateSubscriptionBillingMode
fn clone(&self) -> CreateSubscriptionBillingMode
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 moreimpl Copy for CreateSubscriptionBillingMode
Auto Trait Implementations§
impl Freeze for CreateSubscriptionBillingMode
impl RefUnwindSafe for CreateSubscriptionBillingMode
impl Send for CreateSubscriptionBillingMode
impl Sync for CreateSubscriptionBillingMode
impl Unpin for CreateSubscriptionBillingMode
impl UnwindSafe for CreateSubscriptionBillingMode
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