Function smartnoise_validator::utilities::json::privacy_usage_to_json[][src]

pub fn privacy_usage_to_json(privacy_usage: &PrivacyUsage) -> Value

Converts the prost Protobuf PrivacyLoss into a json representation.

User provide a value for either epsilon, delta, or rho depending on the type of dp definitions (i.e. approximate and concentrated).