pub struct BillingPlanUsageThreshold {
pub amount_cents: i64,
pub display_name: Option<String>,
pub recurring: bool,
}Fields§
§amount_cents: i64Usage amount, in whole cents, at which usage is invoiced before the period ends.
display_name: Option<String>§recurring: boolWhether usage is invoiced again every further amountCents.
Implementations§
Source§impl BillingPlanUsageThreshold
impl BillingPlanUsageThreshold
pub fn serialize<__S>(
__self: &BillingPlanUsageThreshold,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> BillingPlanUsageThreshold
impl<'de> BillingPlanUsageThreshold
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<BillingPlanUsageThreshold, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for BillingPlanUsageThreshold
impl Clone for BillingPlanUsageThreshold
Source§impl Debug for BillingPlanUsageThreshold
impl Debug for BillingPlanUsageThreshold
Source§impl<'de> Deserialize<'de> for BillingPlanUsageThreshold
impl<'de> Deserialize<'de> for BillingPlanUsageThreshold
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 BillingPlanUsageThreshold
impl RefUnwindSafe for BillingPlanUsageThreshold
impl Send for BillingPlanUsageThreshold
impl Sync for BillingPlanUsageThreshold
impl Unpin for BillingPlanUsageThreshold
impl UnsafeUnpin for BillingPlanUsageThreshold
impl UnwindSafe for BillingPlanUsageThreshold
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