pub struct SpoofingConfig {
pub enabled: bool,
pub intensity: f64,
pub spoof_timing: bool,
pub spoof_amounts: bool,
pub spoof_merchants: bool,
pub spoof_geography: bool,
pub add_delays: bool,
}Expand description
Spoofing (adversarial) configuration.
Fields§
§enabled: boolEnable spoofing mode
intensity: f64Spoofing intensity (0.0-1.0)
spoof_timing: boolSpoof transaction timing
spoof_amounts: boolSpoof transaction amounts
spoof_merchants: boolSpoof merchant selection
spoof_geography: boolSpoof geographic patterns
add_delays: boolAdd delays to reduce velocity detection
Trait Implementations§
Source§impl Clone for SpoofingConfig
impl Clone for SpoofingConfig
Source§fn clone(&self) -> SpoofingConfig
fn clone(&self) -> SpoofingConfig
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 SpoofingConfig
impl Debug for SpoofingConfig
Source§impl Default for SpoofingConfig
impl Default for SpoofingConfig
Source§impl<'de> Deserialize<'de> for SpoofingConfig
impl<'de> Deserialize<'de> for SpoofingConfig
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 SpoofingConfig
impl RefUnwindSafe for SpoofingConfig
impl Send for SpoofingConfig
impl Sync for SpoofingConfig
impl Unpin for SpoofingConfig
impl UnwindSafe for SpoofingConfig
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