use serde::{Serialize, Deserialize};
use super::RoleDetail;
///ADocumentation not found in the MISMO model viewer and not provided by Freddie Mac.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Role {
///Documentation not found in the MISMO model viewer and not provided by Freddie Mac.
#[serde(rename = "ROLE_DETAIL")]
pub role_detail: RoleDetail,
}
impl std::fmt::Display for Role {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
write!(f, "{}", serde_json::to_string(self).unwrap())
}
}