Trait tracing_layer_core::WebhookMessage

source ·
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§

source

fn webhook_url(&self) -> &str

source

fn serialize(&self) -> String

Implementors§