pub struct Match {
pub id: String,
pub name: String,
pub aliases: Vec<String>,
pub source: String,
pub entity_type: String,
pub nationality: Option<String>,
pub date_of_birth: Option<String>,
pub reason: Option<String>,
pub confidence: u8,
pub risk_level: String,
pub match_type: String,
}Expand description
A single sanctions list match.
Fields§
§id: StringUnique entry ID.
name: StringPrimary name from the sanctions list.
aliases: Vec<String>Known aliases.
source: StringSource list (e.g. "OFAC", "EU", "UN").
entity_type: StringEntity type ("person" or "entity").
nationality: Option<String>Nationality/country.
date_of_birth: Option<String>Date of birth.
reason: Option<String>Reason/remarks for listing.
confidence: u8Match confidence score (0-100).
risk_level: StringRisk level based on confidence.
match_type: StringAlgorithm that produced this match.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Match
impl<'de> Deserialize<'de> for Match
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnsafeUnpin for Match
impl UnwindSafe for Match
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more