pub struct AnomalyRateConfig {
pub total_rate: f64,
pub fraud_rate: f64,
pub error_rate: f64,
pub process_rate: f64,
}Expand description
Base anomaly rate configuration.
Fields§
§total_rate: f64Total anomaly rate (0.0 to 1.0).
fraud_rate: f64Fraud anomaly rate.
error_rate: f64Error anomaly rate.
process_rate: f64Process issue rate.
Trait Implementations§
Source§impl Clone for AnomalyRateConfig
impl Clone for AnomalyRateConfig
Source§fn clone(&self) -> AnomalyRateConfig
fn clone(&self) -> AnomalyRateConfig
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 AnomalyRateConfig
impl Debug for AnomalyRateConfig
Source§impl Default for AnomalyRateConfig
impl Default for AnomalyRateConfig
Source§impl<'de> Deserialize<'de> for AnomalyRateConfig
impl<'de> Deserialize<'de> for AnomalyRateConfig
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 AnomalyRateConfig
impl RefUnwindSafe for AnomalyRateConfig
impl Send for AnomalyRateConfig
impl Sync for AnomalyRateConfig
impl Unpin for AnomalyRateConfig
impl UnwindSafe for AnomalyRateConfig
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