pub struct ClusterStats {
pub size: usize,
pub start_date: Option<NaiveDate>,
pub end_date: Option<NaiveDate>,
pub anomaly_types: Vec<String>,
pub fraud_category: Option<FraudCategory>,
pub time_window_days: i64,
pub accounts: Vec<String>,
pub entities: Vec<String>,
pub causal_links: Vec<CausalLink>,
}Expand description
Statistics for a cluster.
Fields§
§size: usizeNumber of anomalies in cluster.
start_date: Option<NaiveDate>Start date.
end_date: Option<NaiveDate>End date.
anomaly_types: Vec<String>Anomaly types in cluster.
fraud_category: Option<FraudCategory>Fraud category of this cluster.
time_window_days: i64Time window used (days).
accounts: Vec<String>Accounts involved in this cluster.
entities: Vec<String>Entities involved in this cluster.
causal_links: Vec<CausalLink>Causal links within this cluster.
Trait Implementations§
Source§impl Clone for ClusterStats
impl Clone for ClusterStats
Source§fn clone(&self) -> ClusterStats
fn clone(&self) -> ClusterStats
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 ClusterStats
impl Debug for ClusterStats
Source§impl Default for ClusterStats
impl Default for ClusterStats
Source§fn default() -> ClusterStats
fn default() -> ClusterStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClusterStats
impl RefUnwindSafe for ClusterStats
impl Send for ClusterStats
impl Sync for ClusterStats
impl Unpin for ClusterStats
impl UnwindSafe for ClusterStats
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