svix 2.0.0

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
// this file is @generated
use serde::{Deserialize, Serialize};

/// Configuration for a RabbitMq sink.
#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
pub struct RabbitMqConfigIn {
    pub uri: String,

    #[serde(rename = "routingKey")]
    pub routing_key: String,
}

impl RabbitMqConfigIn {
    pub fn new(uri: String, routing_key: String) -> Self {
        Self { uri, routing_key }
    }
}