pub enum BillingEventKind {
SubscriptionCreated,
SubscriptionUpdated,
SubscriptionCanceled,
InvoicePaid,
InvoiceFailed,
Other,
}Expand description
BillingEventKind
JSON schema
{
"type": "string",
"enum": [
"subscription_created",
"subscription_updated",
"subscription_canceled",
"invoice_paid",
"invoice_failed",
"other"
]
}Variants§
Trait Implementations§
Source§impl Clone for BillingEventKind
impl Clone for BillingEventKind
Source§fn clone(&self) -> BillingEventKind
fn clone(&self) -> BillingEventKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BillingEventKind
impl Debug for BillingEventKind
Source§impl<'de> Deserialize<'de> for BillingEventKind
impl<'de> Deserialize<'de> for BillingEventKind
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 BillingEventKind
impl Display for BillingEventKind
Source§impl FromStr for BillingEventKind
impl FromStr for BillingEventKind
Source§impl Hash for BillingEventKind
impl Hash for BillingEventKind
Source§impl Ord for BillingEventKind
impl Ord for BillingEventKind
Source§fn cmp(&self, other: &BillingEventKind) -> Ordering
fn cmp(&self, other: &BillingEventKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BillingEventKind
impl PartialEq for BillingEventKind
Source§fn eq(&self, other: &BillingEventKind) -> bool
fn eq(&self, other: &BillingEventKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BillingEventKind
impl PartialOrd for BillingEventKind
Source§impl Serialize for BillingEventKind
impl Serialize for BillingEventKind
Source§impl TryFrom<&String> for BillingEventKind
impl TryFrom<&String> for BillingEventKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for BillingEventKind
impl TryFrom<&str> for BillingEventKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for BillingEventKind
impl TryFrom<String> for BillingEventKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for BillingEventKind
impl Eq for BillingEventKind
impl StructuralPartialEq for BillingEventKind
Auto Trait Implementations§
impl Freeze for BillingEventKind
impl RefUnwindSafe for BillingEventKind
impl Send for BillingEventKind
impl Sync for BillingEventKind
impl Unpin for BillingEventKind
impl UnsafeUnpin for BillingEventKind
impl UnwindSafe for BillingEventKind
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