plaid/model/
entity_screening_hit_urls_items.rs

1use serde::{Serialize, Deserialize};
2use super::{EntityScreeningHitUrls, MatchSummary};
3///Analyzed URLs for the associated hit
4#[derive(Debug, Clone, Serialize, Deserialize)]
5pub struct EntityScreeningHitUrlsItems {
6    ///Summary object reflecting the match result of the associated data
7    #[serde(default, skip_serializing_if = "Option::is_none")]
8    pub analysis: Option<MatchSummary>,
9    ///URLs associated with the entity screening hit
10    #[serde(default, skip_serializing_if = "Option::is_none")]
11    pub data: Option<EntityScreeningHitUrls>,
12}
13impl std::fmt::Display for EntityScreeningHitUrlsItems {
14    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
15        write!(f, "{}", serde_json::to_string(self).unwrap())
16    }
17}