plaid/model/
cra_check_report_failed_webhook.rs1use serde::{Serialize, Deserialize};
2use super::WebhookEnvironmentValues;
3#[derive(Debug, Clone, Serialize, Deserialize)]
5pub struct CraCheckReportFailedWebhook {
6 pub environment: WebhookEnvironmentValues,
8 pub user_id: String,
10 pub webhook_code: String,
12 pub webhook_type: String,
14}
15impl std::fmt::Display for CraCheckReportFailedWebhook {
16 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
17 write!(f, "{}", serde_json::to_string(self).unwrap())
18 }
19}