pub struct CorrelationSchemaConfig {
pub enabled: bool,
pub copula_type: CopulaSchemaType,
pub fields: Vec<CorrelatedFieldConfig>,
pub matrix: Vec<f64>,
pub expected_correlations: Vec<ExpectedCorrelationConfig>,
}Expand description
Cross-field correlation configuration.
Fields§
§enabled: boolEnable correlation modeling.
copula_type: CopulaSchemaTypeCopula type for dependency modeling.
fields: Vec<CorrelatedFieldConfig>Field definitions for correlation.
matrix: Vec<f64>Correlation matrix (upper triangular, row-major). For n fields, this should have n*(n-1)/2 values.
expected_correlations: Vec<ExpectedCorrelationConfig>Expected correlations for validation.
Trait Implementations§
Source§impl Clone for CorrelationSchemaConfig
impl Clone for CorrelationSchemaConfig
Source§fn clone(&self) -> CorrelationSchemaConfig
fn clone(&self) -> CorrelationSchemaConfig
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 CorrelationSchemaConfig
impl Debug for CorrelationSchemaConfig
Source§impl Default for CorrelationSchemaConfig
impl Default for CorrelationSchemaConfig
Source§impl<'de> Deserialize<'de> for CorrelationSchemaConfig
impl<'de> Deserialize<'de> for CorrelationSchemaConfig
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 CorrelationSchemaConfig
impl RefUnwindSafe for CorrelationSchemaConfig
impl Send for CorrelationSchemaConfig
impl Sync for CorrelationSchemaConfig
impl Unpin for CorrelationSchemaConfig
impl UnwindSafe for CorrelationSchemaConfig
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