pub struct FraudThresholds {
pub max_amount: f64,
pub max_transactions_per_hour: usize,
pub max_daily_total: f64,
pub round_amount_threshold: f64,
}Expand description
Fraud detection thresholds
Fields§
§max_amount: f64Maximum transaction amount (USD)
max_transactions_per_hour: usizeMaximum transactions per hour
max_daily_total: f64Maximum total amount per day
round_amount_threshold: f64Suspicious round amount threshold
Trait Implementations§
Source§impl Clone for FraudThresholds
impl Clone for FraudThresholds
Source§fn clone(&self) -> FraudThresholds
fn clone(&self) -> FraudThresholds
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 FraudThresholds
impl Debug for FraudThresholds
Auto Trait Implementations§
impl Freeze for FraudThresholds
impl RefUnwindSafe for FraudThresholds
impl Send for FraudThresholds
impl Sync for FraudThresholds
impl Unpin for FraudThresholds
impl UnwindSafe for FraudThresholds
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