plaid/model/
credit_freddie_mac_individual_name.rs

1use serde::{Serialize, Deserialize};
2///Documentation not found in the MISMO model viewer and not provided by Freddie Mac.
3#[derive(Debug, Clone, Serialize, Deserialize, Default)]
4pub struct CreditFreddieMacIndividualName {
5    ///The first name of the individual represented by the parent object.
6    #[serde(rename = "FirstName")]
7    pub first_name: String,
8    ///The last name of the individual represented by the parent object.
9    #[serde(rename = "LastName")]
10    pub last_name: String,
11    ///The middle name of the individual represented by the parent object.
12    #[serde(rename = "MiddleName")]
13    pub middle_name: String,
14}
15impl std::fmt::Display for CreditFreddieMacIndividualName {
16    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
17        write!(f, "{}", serde_json::to_string(self).unwrap())
18    }
19}