svix 1.94.0

Svix webhooks API client and webhook verification library
Documentation
/*
 * Svix API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.1.1
 *
 * Generated by: https://openapi-generator.tech
 */

#[allow(unused_imports)]
use crate::models;
#[allow(unused_imports)]
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct HttpErrorOut {
    #[serde(rename = "code")]
    pub code: String,
    #[serde(rename = "detail")]
    pub detail: String,
}

impl HttpErrorOut {
    pub fn new(code: String, detail: String) -> HttpErrorOut {
        HttpErrorOut { code, detail }
    }
}