pub enum CreateAlertV1BodyAlertType {
SpendThresholdReached,
MonthlyInvoiceTotalSpendThresholdReached,
UsageThresholdReached,
LowRemainingDaysForCommitSegmentReached,
LowRemainingCommitBalanceReached,
LowRemainingCommitPercentageReached,
LowRemainingDaysForContractCreditSegmentReached,
LowRemainingContractCreditBalanceReached,
LowRemainingContractCreditPercentageReached,
LowRemainingContractCreditAndCommitBalanceReached,
InvoiceTotalReached,
LowRemainingSeatBalanceReached,
}Expand description
Type of the threshold notification
JSON schema
{
"description": "Type of the threshold notification",
"type": "string",
"enum": [
"spend_threshold_reached",
"monthly_invoice_total_spend_threshold_reached",
"usage_threshold_reached",
"low_remaining_days_for_commit_segment_reached",
"low_remaining_commit_balance_reached",
"low_remaining_commit_percentage_reached",
"low_remaining_days_for_contract_credit_segment_reached",
"low_remaining_contract_credit_balance_reached",
"low_remaining_contract_credit_percentage_reached",
"low_remaining_contract_credit_and_commit_balance_reached",
"invoice_total_reached",
"low_remaining_seat_balance_reached"
]
}Variants§
SpendThresholdReached
MonthlyInvoiceTotalSpendThresholdReached
UsageThresholdReached
LowRemainingDaysForCommitSegmentReached
LowRemainingCommitBalanceReached
LowRemainingCommitPercentageReached
LowRemainingDaysForContractCreditSegmentReached
LowRemainingContractCreditBalanceReached
LowRemainingContractCreditPercentageReached
LowRemainingContractCreditAndCommitBalanceReached
InvoiceTotalReached
LowRemainingSeatBalanceReached
Trait Implementations§
Source§impl Clone for CreateAlertV1BodyAlertType
impl Clone for CreateAlertV1BodyAlertType
Source§fn clone(&self) -> CreateAlertV1BodyAlertType
fn clone(&self) -> CreateAlertV1BodyAlertType
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 moreimpl Copy for CreateAlertV1BodyAlertType
Source§impl Debug for CreateAlertV1BodyAlertType
impl Debug for CreateAlertV1BodyAlertType
Source§impl<'de> Deserialize<'de> for CreateAlertV1BodyAlertType
impl<'de> Deserialize<'de> for CreateAlertV1BodyAlertType
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 CreateAlertV1BodyAlertType
impl Display for CreateAlertV1BodyAlertType
impl Eq for CreateAlertV1BodyAlertType
Source§impl FromStr for CreateAlertV1BodyAlertType
impl FromStr for CreateAlertV1BodyAlertType
Source§impl Hash for CreateAlertV1BodyAlertType
impl Hash for CreateAlertV1BodyAlertType
Source§impl Ord for CreateAlertV1BodyAlertType
impl Ord for CreateAlertV1BodyAlertType
Source§fn cmp(&self, other: &CreateAlertV1BodyAlertType) -> Ordering
fn cmp(&self, other: &CreateAlertV1BodyAlertType) -> 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 CreateAlertV1BodyAlertType
impl PartialEq for CreateAlertV1BodyAlertType
Source§fn eq(&self, other: &CreateAlertV1BodyAlertType) -> bool
fn eq(&self, other: &CreateAlertV1BodyAlertType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CreateAlertV1BodyAlertType
impl PartialOrd for CreateAlertV1BodyAlertType
impl StructuralPartialEq for CreateAlertV1BodyAlertType
Source§impl TryFrom<&String> for CreateAlertV1BodyAlertType
impl TryFrom<&String> for CreateAlertV1BodyAlertType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for CreateAlertV1BodyAlertType
impl TryFrom<&str> for CreateAlertV1BodyAlertType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for CreateAlertV1BodyAlertType
impl TryFrom<String> for CreateAlertV1BodyAlertType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for CreateAlertV1BodyAlertType
impl RefUnwindSafe for CreateAlertV1BodyAlertType
impl Send for CreateAlertV1BodyAlertType
impl Sync for CreateAlertV1BodyAlertType
impl Unpin for CreateAlertV1BodyAlertType
impl UnsafeUnpin for CreateAlertV1BodyAlertType
impl UnwindSafe for CreateAlertV1BodyAlertType
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