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
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct HttpValidationError {
    #[serde(rename = "detail")]
    pub detail: Vec<super::ValidationError>,
}

impl HttpValidationError {
    pub fn new(detail: Vec<super::ValidationError>) -> HttpValidationError {
        HttpValidationError { detail }
    }
}