#[non_exhaustive]pub enum BillingOperationFailureCode {
PaymentMethodRequired,
PaymentFailed,
NotProvisioned,
InvalidTarget,
Internal,
Unknown(String),
}Expand description
Stable provider-neutral failure category.
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.
PaymentMethodRequired
payment_method_required
PaymentFailed
payment_failed
NotProvisioned
not_provisioned
InvalidTarget
invalid_target
Internal
internal
Unknown(String)
A value this version of the client does not know, kept as received.
Implementations§
Trait Implementations§
Source§impl Clone for BillingOperationFailureCode
impl Clone for BillingOperationFailureCode
Source§impl Debug for BillingOperationFailureCode
impl Debug for BillingOperationFailureCode
Source§impl<'de> Deserialize<'de> for BillingOperationFailureCode
impl<'de> Deserialize<'de> for BillingOperationFailureCode
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
impl Eq for BillingOperationFailureCode
impl StructuralPartialEq for BillingOperationFailureCode
Auto Trait Implementations§
impl Freeze for BillingOperationFailureCode
impl RefUnwindSafe for BillingOperationFailureCode
impl Send for BillingOperationFailureCode
impl Sync for BillingOperationFailureCode
impl Unpin for BillingOperationFailureCode
impl UnsafeUnpin for BillingOperationFailureCode
impl UnwindSafe for BillingOperationFailureCode
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