Struct stripe::generated::billing::subscription_schedule::CreateSubscriptionSchedulePhasesItemsBillingThresholds
source · pub struct CreateSubscriptionSchedulePhasesItemsBillingThresholds {
pub usage_gte: i64,
}
Fields§
§usage_gte: i64
Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 monetary threshold).
Trait Implementations§
source§impl Clone for CreateSubscriptionSchedulePhasesItemsBillingThresholds
impl Clone for CreateSubscriptionSchedulePhasesItemsBillingThresholds
source§fn clone(&self) -> CreateSubscriptionSchedulePhasesItemsBillingThresholds
fn clone(&self) -> CreateSubscriptionSchedulePhasesItemsBillingThresholds
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 CreateSubscriptionSchedulePhasesItemsBillingThresholds
impl Default for CreateSubscriptionSchedulePhasesItemsBillingThresholds
source§fn default() -> CreateSubscriptionSchedulePhasesItemsBillingThresholds
fn default() -> CreateSubscriptionSchedulePhasesItemsBillingThresholds
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateSubscriptionSchedulePhasesItemsBillingThresholds
impl<'de> Deserialize<'de> for CreateSubscriptionSchedulePhasesItemsBillingThresholds
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 CreateSubscriptionSchedulePhasesItemsBillingThresholds
impl Send for CreateSubscriptionSchedulePhasesItemsBillingThresholds
impl Sync for CreateSubscriptionSchedulePhasesItemsBillingThresholds
impl Unpin for CreateSubscriptionSchedulePhasesItemsBillingThresholds
impl UnwindSafe for CreateSubscriptionSchedulePhasesItemsBillingThresholds
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