pub struct CreateBillingAlertUsageThreshold {
pub filters: Option<Vec<CreateBillingAlertUsageThresholdFilters>>,
pub gte: i64,
pub meter: String,
pub recurrence: CreateBillingAlertUsageThresholdRecurrence,
}
Expand description
The configuration of the usage threshold.
Fields§
§filters: Option<Vec<CreateBillingAlertUsageThresholdFilters>>
The filters allows limiting the scope of this usage alert. You can only specify up to one filter at this time.
gte: i64
Defines at which value the alert will fire.
meter: String
The Billing Meter ID whose usage is monitored.
recurrence: CreateBillingAlertUsageThresholdRecurrence
Defines how the alert will behave.
Implementations§
Trait Implementations§
Source§impl Clone for CreateBillingAlertUsageThreshold
impl Clone for CreateBillingAlertUsageThreshold
Source§fn clone(&self) -> CreateBillingAlertUsageThreshold
fn clone(&self) -> CreateBillingAlertUsageThreshold
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateBillingAlertUsageThreshold
impl RefUnwindSafe for CreateBillingAlertUsageThreshold
impl Send for CreateBillingAlertUsageThreshold
impl Sync for CreateBillingAlertUsageThreshold
impl Unpin for CreateBillingAlertUsageThreshold
impl UnwindSafe for CreateBillingAlertUsageThreshold
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