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

/// Configuration for a RabbitMq sink.
#[derive(Clone, Debug, Default, PartialEq, Deserialize, Serialize)]
pub struct RabbitMqConfig {
    #[serde(rename = "routingKey")]
    pub routing_key: String,

    pub uri: String,
}

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