plaid/model/
fallback_auth_microdeposit_verification_expired_webhook.rs1use serde::{Serialize, Deserialize};
2use super::WebhookEnvironmentValues;
3#[derive(Debug, Clone, Serialize, Deserialize)]
5pub struct FallbackAuthMicrodepositVerificationExpiredWebhook {
6 pub account_id: String,
8 pub environment: WebhookEnvironmentValues,
10 #[serde(default, skip_serializing_if = "Option::is_none")]
12 pub error: Option<String>,
13 pub item_id: String,
15 pub webhook_code: String,
17 pub webhook_type: String,
19}
20impl std::fmt::Display for FallbackAuthMicrodepositVerificationExpiredWebhook {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
22 write!(f, "{}", serde_json::to_string(self).unwrap())
23 }
24}