pub struct SubscriptionMinimumCommitmentOverride {
pub amount_cents: Option<i64>,
pub invoice_display_name: Option<String>,
pub tax_codes: Option<Vec<String>>,
}Expand description
Minimum commitment override for a subscription.
Fields§
§amount_cents: Option<i64>Minimum commitment amount in cents.
invoice_display_name: Option<String>Invoice display name for the minimum commitment.
tax_codes: Option<Vec<String>>Tax codes for the minimum commitment.
Trait Implementations§
Source§impl Clone for SubscriptionMinimumCommitmentOverride
impl Clone for SubscriptionMinimumCommitmentOverride
Source§fn clone(&self) -> SubscriptionMinimumCommitmentOverride
fn clone(&self) -> SubscriptionMinimumCommitmentOverride
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 moreSource§impl<'de> Deserialize<'de> for SubscriptionMinimumCommitmentOverride
impl<'de> Deserialize<'de> for SubscriptionMinimumCommitmentOverride
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 SubscriptionMinimumCommitmentOverride
impl RefUnwindSafe for SubscriptionMinimumCommitmentOverride
impl Send for SubscriptionMinimumCommitmentOverride
impl Sync for SubscriptionMinimumCommitmentOverride
impl Unpin for SubscriptionMinimumCommitmentOverride
impl UnwindSafe for SubscriptionMinimumCommitmentOverride
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