pub struct AnomalyRateConfig {
pub total_rate: f64,
pub fraud_rate: f64,
pub error_rate: f64,
pub process_issue_rate: f64,
pub statistical_rate: f64,
pub relational_rate: f64,
}Expand description
Configuration for anomaly rates.
Fields§
§total_rate: f64Overall anomaly rate (0.0 - 1.0).
fraud_rate: f64Fraud rate as proportion of anomalies.
error_rate: f64Error rate as proportion of anomalies.
process_issue_rate: f64Process issue rate as proportion of anomalies.
statistical_rate: f64Statistical anomaly rate as proportion of anomalies.
relational_rate: f64Relational anomaly rate as proportion of anomalies.
Implementations§
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