#[non_exhaustive]pub enum OperationReason {
ChargeRefused,
EntitlementLost,
ProjectDeleted,
Unknown(String),
}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.
ChargeRefused
charge_refused
EntitlementLost
entitlement_lost
ProjectDeleted
project_deleted
Unknown(String)
A value this version of the client does not know, kept as received.
Implementations§
Trait Implementations§
Source§impl Clone for OperationReason
impl Clone for OperationReason
Source§impl Debug for OperationReason
impl Debug for OperationReason
Source§impl<'de> Deserialize<'de> for OperationReason
impl<'de> Deserialize<'de> for OperationReason
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 OperationReason
impl Display for OperationReason
impl Eq for OperationReason
Source§impl PartialEq for OperationReason
impl PartialEq for OperationReason
Source§impl Serialize for OperationReason
impl Serialize for OperationReason
impl StructuralPartialEq for OperationReason
Auto Trait Implementations§
impl Freeze for OperationReason
impl RefUnwindSafe for OperationReason
impl Send for OperationReason
impl Sync for OperationReason
impl Unpin for OperationReason
impl UnsafeUnpin for OperationReason
impl UnwindSafe for OperationReason
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