pub struct DocumentRiskSignal {
pub actual_value: Option<String>,
pub expected_value: Option<String>,
pub field: Option<String>,
pub has_fraud_risk: Option<bool>,
pub institution_metadata: Option<DocumentRiskSignalInstitutionMetadata>,
pub page_number: Option<i64>,
pub signal_description: Option<String>,
pub type_: Option<String>,
}Expand description
Details about a certain reason as to why a document could potentially be fraudulent.
Fields§
§actual_value: Option<String>The derived value obtained in the risk signal calculation process for this field
expected_value: Option<String>The expected value of the field, as seen on the document
field: Option<String>The field which the risk signal was computed for
has_fraud_risk: Option<bool>A flag used to quickly identify if the signal indicates that this field is authentic or fraudulent
institution_metadata: Option<DocumentRiskSignalInstitutionMetadata>An object which contains additional metadata about the institution used to compute the verification attribute
page_number: Option<i64>The relevant page associated with the risk signal. If the risk signal is not associated with a specific page, the value will be 0.
signal_description: Option<String>A human-readable explanation providing more detail into the particular risk signal
type_: Option<String>The type of risk found in the risk signal check.
Trait Implementations§
Source§impl Clone for DocumentRiskSignal
impl Clone for DocumentRiskSignal
Source§fn clone(&self) -> DocumentRiskSignal
fn clone(&self) -> DocumentRiskSignal
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DocumentRiskSignal
impl Debug for DocumentRiskSignal
Source§impl Default for DocumentRiskSignal
impl Default for DocumentRiskSignal
Source§fn default() -> DocumentRiskSignal
fn default() -> DocumentRiskSignal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentRiskSignal
impl<'de> Deserialize<'de> for DocumentRiskSignal
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
Source§impl Display for DocumentRiskSignal
impl Display for DocumentRiskSignal
Auto Trait Implementations§
impl Freeze for DocumentRiskSignal
impl RefUnwindSafe for DocumentRiskSignal
impl Send for DocumentRiskSignal
impl Sync for DocumentRiskSignal
impl Unpin for DocumentRiskSignal
impl UnwindSafe for DocumentRiskSignal
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