1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
use serde::{Serialize, Deserialize};
use super::BeaconMatchSummaryCode;
///Analysis of which fields matched between one Beacon User and another.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct BeaconMatchSummaryAnalysis {
/**An enum indicating the match type between two Beacon Users.
`match` indicates that the provided input data was a strong match against the other Beacon User.
`partial_match` indicates the data approximately matched the other Beacon User. For example, "Knope" vs. "Knope-Wyatt" for last name.
`no_match` indicates that Plaid was able to compare this field against the other Beacon User and it did not match the provided input data.
`no_data` indicates that Plaid was unable to compare this field against the original Beacon User because the field was not present in one of the Beacon Users.*/
pub address: BeaconMatchSummaryCode,
/**An enum indicating the match type between two Beacon Users.
`match` indicates that the provided input data was a strong match against the other Beacon User.
`partial_match` indicates the data approximately matched the other Beacon User. For example, "Knope" vs. "Knope-Wyatt" for last name.
`no_match` indicates that Plaid was able to compare this field against the other Beacon User and it did not match the provided input data.
`no_data` indicates that Plaid was unable to compare this field against the original Beacon User because the field was not present in one of the Beacon Users.*/
pub date_of_birth: BeaconMatchSummaryCode,
/**An enum indicating the match type between two Beacon Users.
`match` indicates that the provided input data was a strong match against the other Beacon User.
`partial_match` indicates the data approximately matched the other Beacon User. For example, "Knope" vs. "Knope-Wyatt" for last name.
`no_match` indicates that Plaid was able to compare this field against the other Beacon User and it did not match the provided input data.
`no_data` indicates that Plaid was unable to compare this field against the original Beacon User because the field was not present in one of the Beacon Users.*/
pub email_address: BeaconMatchSummaryCode,
/**An enum indicating the match type between two Beacon Users.
`match` indicates that the provided input data was a strong match against the other Beacon User.
`partial_match` indicates the data approximately matched the other Beacon User. For example, "Knope" vs. "Knope-Wyatt" for last name.
`no_match` indicates that Plaid was able to compare this field against the other Beacon User and it did not match the provided input data.
`no_data` indicates that Plaid was unable to compare this field against the original Beacon User because the field was not present in one of the Beacon Users.*/
pub id_number: BeaconMatchSummaryCode,
/**An enum indicating the match type between two Beacon Users.
`match` indicates that the provided input data was a strong match against the other Beacon User.
`partial_match` indicates the data approximately matched the other Beacon User. For example, "Knope" vs. "Knope-Wyatt" for last name.
`no_match` indicates that Plaid was able to compare this field against the other Beacon User and it did not match the provided input data.
`no_data` indicates that Plaid was unable to compare this field against the original Beacon User because the field was not present in one of the Beacon Users.*/
pub ip_address: BeaconMatchSummaryCode,
/**An enum indicating the match type between two Beacon Users.
`match` indicates that the provided input data was a strong match against the other Beacon User.
`partial_match` indicates the data approximately matched the other Beacon User. For example, "Knope" vs. "Knope-Wyatt" for last name.
`no_match` indicates that Plaid was able to compare this field against the other Beacon User and it did not match the provided input data.
`no_data` indicates that Plaid was unable to compare this field against the original Beacon User because the field was not present in one of the Beacon Users.*/
pub name: BeaconMatchSummaryCode,
/**An enum indicating the match type between two Beacon Users.
`match` indicates that the provided input data was a strong match against the other Beacon User.
`partial_match` indicates the data approximately matched the other Beacon User. For example, "Knope" vs. "Knope-Wyatt" for last name.
`no_match` indicates that Plaid was able to compare this field against the other Beacon User and it did not match the provided input data.
`no_data` indicates that Plaid was unable to compare this field against the original Beacon User because the field was not present in one of the Beacon Users.*/
pub phone_number: BeaconMatchSummaryCode,
}
impl std::fmt::Display for BeaconMatchSummaryAnalysis {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
write!(f, "{}", serde_json::to_string(self).unwrap())
}
}