hooksniff 1.5.1

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

#[derive(Clone, Debug, Default, PartialEq, Deserialize, Serialize)]
pub struct RateLimitIn {
    pub endpoint_id: String,
    pub rate: i32,
    pub window_seconds: i32,
}

impl RateLimitIn {
    pub fn new(endpoint_id: String, rate: i32, window_seconds: i32) -> Self {
        Self { endpoint_id, rate, window_seconds }
    }
}