pagerduty-rs
A PagerDuty Events V2 API Client Library in Rust.
Using the API
Complete API examples are provided as integration tests.
With feature sync
:
use *;
use *;
// ....
// Create an API client with an Integration Key
let ev2 = new.unwrap;
// Then send an event (which might be a change, alert trigger/acknowledge/resolve)...
ev2.event;
With feature async
:
use *;
use *;
// ....
// Create an API client with an Integration Key
let ev2 = new.unwrap;
// Then send an event (which might be a change, alert trigger/acknowledge/resolve)...
ev2.event.await;