pub struct DoctorWebhooksConfig {
pub endpoints: Vec<DoctorWebhookEndpoint>,
pub max_inflight: usize,
}Expand description
Webhook notification surface for reliability verdict transitions.
Fires when rch doctor --reliability --watch observes a verdict change
(Healthy → Degraded, Degraded → Failing, etc.). Each endpoint selects
which transitions it cares about and how the payload is formatted.
Fields§
§endpoints: Vec<DoctorWebhookEndpoint>Named webhook destinations. Empty = no webhook dispatch.
max_inflight: usizeMaximum number of in-flight webhook deliveries. Bounds memory and outbound connection pressure: when the queue is full, a transition’s delivery is dropped (and journaled) rather than growing unboundedly. Per-process, shared across all endpoints.
Trait Implementations§
Source§impl Clone for DoctorWebhooksConfig
impl Clone for DoctorWebhooksConfig
Source§impl Debug for DoctorWebhooksConfig
impl Debug for DoctorWebhooksConfig
Source§impl Default for DoctorWebhooksConfig
impl Default for DoctorWebhooksConfig
Source§impl<'de> Deserialize<'de> for DoctorWebhooksConfig
impl<'de> Deserialize<'de> for DoctorWebhooksConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DoctorWebhooksConfig
Source§impl PartialEq for DoctorWebhooksConfig
impl PartialEq for DoctorWebhooksConfig
Source§impl Serialize for DoctorWebhooksConfig
impl Serialize for DoctorWebhooksConfig
impl StructuralPartialEq for DoctorWebhooksConfig
Auto Trait Implementations§
impl Freeze for DoctorWebhooksConfig
impl RefUnwindSafe for DoctorWebhooksConfig
impl Send for DoctorWebhooksConfig
impl Sync for DoctorWebhooksConfig
impl Unpin for DoctorWebhooksConfig
impl UnsafeUnpin for DoctorWebhooksConfig
impl UnwindSafe for DoctorWebhooksConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.