pub fn circuit_breaker_event(
worker: impl Into<String>,
from: CircuitBreakerState,
to: CircuitBreakerState,
failure_count: u32,
) -> WebhookEventExpand description
Build a WebhookEvent::CircuitBreakerStateChange event.
pub fn circuit_breaker_event(
worker: impl Into<String>,
from: CircuitBreakerState,
to: CircuitBreakerState,
failure_count: u32,
) -> WebhookEventBuild a WebhookEvent::CircuitBreakerStateChange event.