svix 1.96.1

Svix webhooks API client and webhook verification library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// this file is @generated
use serde::{Deserialize, Serialize};

use super::endpoint_deleted_event_data::EndpointDeletedEventData;

/// Sent when an endpoint is deleted.
#[derive(Clone, Debug, Default, PartialEq, Deserialize, Serialize)]
pub struct EndpointDeletedEvent {
    pub data: EndpointDeletedEventData,

    pub r#type: String,
}

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