plaid/model/identity_verification_template_reference.rs
1use serde::{Serialize, Deserialize};
2///The resource ID and version number of the template configuring the behavior of a given Identity Verification.
3#[derive(Debug, Clone, Serialize, Deserialize, Default)]
4pub struct IdentityVerificationTemplateReference {
5 ///ID of the associated Identity Verification template.
6 pub id: String,
7 ///Version of the associated Identity Verification template.
8 pub version: i64,
9}
10impl std::fmt::Display for IdentityVerificationTemplateReference {
11 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
12 write!(f, "{}", serde_json::to_string(self).unwrap())
13 }
14}