pub struct ListAlertRulesParams {
pub page: Option<u32>,
pub per_page: Option<u32>,
pub cursor: Option<String>,
pub region: Option<String>,
pub status: Option<AlertRuleStatus>,
pub metric_category: Option<String>,
pub domain: Option<AlertDomain>,
}Expand description
The query parameters for AlertRulesResource::list.
Fields§
§page: Option<u32>The 1-based page number.
per_page: Option<u32>Items per page.
cursor: Option<String>An opaque cursor from a previous page.
region: Option<String>Filters by region.
status: Option<AlertRuleStatus>Filters by status.
metric_category: Option<String>Filters by metric category.
domain: Option<AlertDomain>Filters by domain. The server defaults to AlertDomain::RTC when
omitted — pass AlertDomain::AGENT to see agent-domain rules.
Trait Implementations§
Source§impl Clone for ListAlertRulesParams
impl Clone for ListAlertRulesParams
Source§fn clone(&self) -> ListAlertRulesParams
fn clone(&self) -> ListAlertRulesParams
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 ListAlertRulesParams
impl Debug for ListAlertRulesParams
Source§impl Default for ListAlertRulesParams
impl Default for ListAlertRulesParams
Source§fn default() -> ListAlertRulesParams
fn default() -> ListAlertRulesParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListAlertRulesParams
impl RefUnwindSafe for ListAlertRulesParams
impl Send for ListAlertRulesParams
impl Sync for ListAlertRulesParams
impl Unpin for ListAlertRulesParams
impl UnsafeUnpin for ListAlertRulesParams
impl UnwindSafe for ListAlertRulesParams
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