pub struct NistAlignmentReport {Show 13 fields
pub differential_privacy_applied: bool,
pub epsilon: Option<f64>,
pub delta: Option<f64>,
pub composition_method: Option<String>,
pub k_anonymity_enforced: bool,
pub k_anonymity_level: Option<usize>,
pub membership_inference_tested: bool,
pub mia_auc_roc: Option<f64>,
pub linkage_attack_tested: bool,
pub re_identification_rate: Option<f64>,
pub alignment_score: f64,
pub criteria: Vec<NistCriterion>,
pub passes: bool,
}Expand description
NIST SP 800-226 alignment self-assessment report.
Maps DataSynth’s privacy controls to NIST criteria for evaluating de-identification and synthetic data methodologies.
Fields§
§differential_privacy_applied: boolWhether differential privacy is applied.
epsilon: Option<f64>Epsilon value used (if applicable).
delta: Option<f64>Delta value used (if applicable).
composition_method: Option<String>The composition method used.
k_anonymity_enforced: boolWhether k-anonymity is enforced.
k_anonymity_level: Option<usize>The k-anonymity level achieved.
membership_inference_tested: boolWhether membership inference was tested.
mia_auc_roc: Option<f64>MIA AUC-ROC result (if tested).
linkage_attack_tested: boolWhether linkage attack was tested.
re_identification_rate: Option<f64>Re-identification rate (if tested).
alignment_score: f64Overall NIST alignment score (0.0-1.0). Based on how many criteria are met.
criteria: Vec<NistCriterion>Individual criterion assessments.
passes: boolWhether the overall assessment passes.
Implementations§
Source§impl NistAlignmentReport
impl NistAlignmentReport
Sourcepub fn build(
dp_applied: bool,
epsilon: Option<f64>,
delta: Option<f64>,
composition_method: Option<String>,
k_anonymity_enforced: bool,
k_anonymity_level: Option<usize>,
mia_auc_roc: Option<f64>,
re_identification_rate: Option<f64>,
) -> Self
pub fn build( dp_applied: bool, epsilon: Option<f64>, delta: Option<f64>, composition_method: Option<String>, k_anonymity_enforced: bool, k_anonymity_level: Option<usize>, mia_auc_roc: Option<f64>, re_identification_rate: Option<f64>, ) -> Self
Build a NIST alignment report from privacy evaluation results.
Trait Implementations§
Source§impl Clone for NistAlignmentReport
impl Clone for NistAlignmentReport
Source§fn clone(&self) -> NistAlignmentReport
fn clone(&self) -> NistAlignmentReport
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 NistAlignmentReport
impl Debug for NistAlignmentReport
Source§impl<'de> Deserialize<'de> for NistAlignmentReport
impl<'de> Deserialize<'de> for NistAlignmentReport
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 NistAlignmentReport
impl RefUnwindSafe for NistAlignmentReport
impl Send for NistAlignmentReport
impl Sync for NistAlignmentReport
impl Unpin for NistAlignmentReport
impl UnsafeUnpin for NistAlignmentReport
impl UnwindSafe for NistAlignmentReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.