svix 2.0.0

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

#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
pub struct GoogleCloudPubSubConfigIn {
    #[serde(rename = "projectId")]
    pub project_id: String,

    #[serde(rename = "topicId")]
    pub topic_id: String,

    /// Google Cloud Credentials JSON Object as a string.
    pub credentials: String,
}

impl GoogleCloudPubSubConfigIn {
    pub fn new(project_id: String, topic_id: String, credentials: String) -> Self {
        Self {
            project_id,
            topic_id,
            credentials,
        }
    }
}