Struct smartnoise_validator::utilities::json::JSONRelease[][src]

pub struct JSONRelease {
    pub description: String,
    pub variables: Value,
    pub statistic: String,
    pub release_info: Value,
    pub privacy_loss: Value,
    pub accuracy: Option<Accuracy>,
    pub submission: u32,
    pub node_id: u32,
    pub postprocess: bool,
    pub algorithm_info: AlgorithmInfo,
}

JSONRelease represents JSON objects in the differential privacy release schema. TODO: link to schema

Fields

description: Stringvariables: Value

array of string that is column/s in the dataset

statistic: String

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

release_info: Value

The value released by the system

privacy_loss: Value

The amount of privacy used to compute the release value

accuracy: Option<Accuracy>

optional parameter. It is a combination of the accuracy and alpha value

submission: u32

which release the implemented statistic is originating from. This provides a tool to keep track of overall privacyLoss.

node_id: u32

For advanced users. Corresponds to the node of the graph this release originated from

postprocess: bool

true when the released value is derived from public/released data

algorithm_info: AlgorithmInfo

the name of the algorithm which is implemented for computation of the given statistic and the arguments of the algorithm such as n(number of observations), range (upper and lower bound, etc.)

Trait Implementations

impl<'de> Deserialize<'de> for JSONRelease[src]

impl Serialize for JSONRelease[src]

Auto Trait Implementations

impl RefUnwindSafe for JSONRelease

impl Send for JSONRelease

impl Sync for JSONRelease

impl Unpin for JSONRelease

impl UnwindSafe for JSONRelease

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]