Function smartnoise_validator::utilities::expand_mechanism [−][src]
pub fn expand_mechanism(
sensitivity_type: &SensitivitySpace,
privacy_definition: &Option<PrivacyDefinition>,
privacy_usage: &[PrivacyUsage],
component: &Component,
properties: &NodeProperties,
component_id: u32,
maximum_id: u32
) -> Result<ComponentExpansion>
Utility function for building component expansions for dp mechanisms