pub trait WebhookMessage:
Debug
+ Send
+ Sync {
// Required methods
fn webhook_url(&self) -> &str;
fn serialize(&self) -> String;
}Expand description
Send a message to a webhook endpoint.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".