Skip to main content

GovernedModel

Trait GovernedModel 

Source
pub trait GovernedModel {
    // Required method
    fn pii_fields() -> Vec<(&'static str, &'static str)>;
}
Expand description

数据治理模型 trait(由 #[derive(Governed)] 自动实现)

Required Methods§

Source

fn pii_fields() -> Vec<(&'static str, &'static str)>

返回 PII 字段列表:(字段名, 脱敏策略),策略 ∈ {hash, partial, replace, encrypt}

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§