pub struct CreateSubscriptionSchedulePhases {
Show 17 fields pub add_invoice_items: Option<Vec<AddInvoiceItems>>, pub application_fee_percent: Option<f64>, pub automatic_tax: Option<CreateSubscriptionSchedulePhasesAutomaticTax>, pub billing_cycle_anchor: Option<CreateSubscriptionSchedulePhasesBillingCycleAnchor>, pub billing_thresholds: Option<SubscriptionBillingThresholds>, pub collection_method: Option<CollectionMethod>, pub coupon: Option<String>, pub default_payment_method: Option<String>, pub default_tax_rates: Option<Vec<String>>, pub end_date: Option<Scheduled>, pub invoice_settings: Option<SubscriptionScheduleInvoiceSettings>, pub items: Vec<CreateSubscriptionSchedulePhasesItems>, pub iterations: Option<i64>, pub proration_behavior: Option<SubscriptionProrationBehavior>, pub transfer_data: Option<CreateSubscriptionSchedulePhasesTransferData>, pub trial: Option<bool>, pub trial_end: Option<Scheduled>,
}

Fields

add_invoice_items: Option<Vec<AddInvoiceItems>>application_fee_percent: Option<f64>automatic_tax: Option<CreateSubscriptionSchedulePhasesAutomaticTax>billing_cycle_anchor: Option<CreateSubscriptionSchedulePhasesBillingCycleAnchor>billing_thresholds: Option<SubscriptionBillingThresholds>collection_method: Option<CollectionMethod>coupon: Option<String>default_payment_method: Option<String>default_tax_rates: Option<Vec<String>>end_date: Option<Scheduled>invoice_settings: Option<SubscriptionScheduleInvoiceSettings>items: Vec<CreateSubscriptionSchedulePhasesItems>iterations: Option<i64>proration_behavior: Option<SubscriptionProrationBehavior>transfer_data: Option<CreateSubscriptionSchedulePhasesTransferData>trial: Option<bool>trial_end: Option<Scheduled>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more