#[non_exhaustive]pub enum BillingPreviewLineKind {
FixedCharge,
Subscription,
Usage,
Commitment,
Unknown(String),
}Expand description
subscription is a plan’s base fee. usage is the replaced plan’s usage to date, billed as it stands when the change is made, so it is an estimate. commitment is the replaced plan’s minimum commitment less what its fees cover.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FixedCharge
fixed_charge
Subscription
subscription
Usage
usage
Commitment
commitment
Unknown(String)
A value this version of the client does not know, kept as received.
Implementations§
Trait Implementations§
Source§impl Clone for BillingPreviewLineKind
impl Clone for BillingPreviewLineKind
Source§impl Debug for BillingPreviewLineKind
impl Debug for BillingPreviewLineKind
Source§impl<'de> Deserialize<'de> for BillingPreviewLineKind
impl<'de> Deserialize<'de> for BillingPreviewLineKind
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
Source§impl Display for BillingPreviewLineKind
impl Display for BillingPreviewLineKind
impl Eq for BillingPreviewLineKind
Source§impl PartialEq for BillingPreviewLineKind
impl PartialEq for BillingPreviewLineKind
Source§impl Serialize for BillingPreviewLineKind
impl Serialize for BillingPreviewLineKind
impl StructuralPartialEq for BillingPreviewLineKind
Auto Trait Implementations§
impl Freeze for BillingPreviewLineKind
impl RefUnwindSafe for BillingPreviewLineKind
impl Send for BillingPreviewLineKind
impl Sync for BillingPreviewLineKind
impl Unpin for BillingPreviewLineKind
impl UnsafeUnpin for BillingPreviewLineKind
impl UnwindSafe for BillingPreviewLineKind
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