pub struct RegionAlertsService { /* private fields */ }Expand description
Operations on the RegionAlerts resource.
Implementations§
Source§impl RegionAlertsService
impl RegionAlertsService
pub async fn list( &self, region_id: i64, opts: Option<&RegionAlertListOptions>, ) -> Result<PaginatedResponse<RegionAlert>, Error>
pub async fn count( &self, region_id: i64, region_cluster_id: Option<i64>, ) -> Result<AlertCountResponse, Error>
pub async fn resolve(&self, region_id: i64, alert_id: &str) -> Result<(), Error>
Auto Trait Implementations§
impl !RefUnwindSafe for RegionAlertsService
impl !UnwindSafe for RegionAlertsService
impl Freeze for RegionAlertsService
impl Send for RegionAlertsService
impl Sync for RegionAlertsService
impl Unpin for RegionAlertsService
impl UnsafeUnpin for RegionAlertsService
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