pub trait HttpAlertWrapper {
// Required methods
fn api_url(&self) -> &str;
fn header_auth_value(&self) -> &str;
fn construct_alert_body(&self, alert_description: &str) -> Value;
}Required Methods§
fn api_url(&self) -> &str
fn header_auth_value(&self) -> &str
fn construct_alert_body(&self, alert_description: &str) -> Value
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".