pub struct FraudIncident {
pub document_id: String,
pub date: NaiveDate,
pub amount: Decimal,
pub fraud_type: String,
pub account: Option<String>,
pub entity: Option<String>,
}Expand description
A single fraud incident committed by an actor.
Fields§
§document_id: StringDocument ID of the fraudulent entry.
date: NaiveDateDate of the fraud.
amount: DecimalAmount of the fraud.
fraud_type: StringFraud type.
account: Option<String>Account used.
entity: Option<String>Related entity (vendor, customer, etc.).
Trait Implementations§
Source§impl Clone for FraudIncident
impl Clone for FraudIncident
Source§fn clone(&self) -> FraudIncident
fn clone(&self) -> FraudIncident
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 moreAuto Trait Implementations§
impl Freeze for FraudIncident
impl RefUnwindSafe for FraudIncident
impl Send for FraudIncident
impl Sync for FraudIncident
impl Unpin for FraudIncident
impl UnwindSafe for FraudIncident
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