pipedrive_rs/models/
webhooks_bad_request_response.rs1#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct WebhooksBadRequestResponse {
16 #[serde(rename = "success", skip_serializing_if = "Option::is_none")]
18 pub success: Option<bool>,
19 #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
21 pub status: Option<String>,
22 #[serde(rename = "errors", skip_serializing_if = "Option::is_none")]
24 pub errors: Option<serde_json::Value>,
25}
26
27impl WebhooksBadRequestResponse {
28 pub fn new() -> WebhooksBadRequestResponse {
29 WebhooksBadRequestResponse {
30 success: None,
31 status: None,
32 errors: None,
33 }
34 }
35}
36
37