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