svix 1.95.1

Svix webhooks API client and webhook verification library
Documentation
// this file is @generated
use serde::{Deserialize, Serialize};

use super::ingest_endpoint_disabled_event_data::IngestEndpointDisabledEventData;

/// Sent when an ingest endpoint has been automatically disabled after
/// continuous failures, or manually via an API call.
#[derive(Clone, Debug, Default, PartialEq, Deserialize, Serialize)]
pub struct IngestEndpointDisabledEvent {
    pub data: IngestEndpointDisabledEventData,

    pub r#type: String,
}

impl IngestEndpointDisabledEvent {
    pub fn new(data: IngestEndpointDisabledEventData, r#type: String) -> Self {
        Self { data, r#type }
    }
}