Struct opendp::core::Measurement[][src]

pub struct Measurement<DI: Domain, DO: Domain, MI: Metric, MO: Measure> {
    pub input_domain: DI,
    pub output_domain: DO,
    pub function: Function<DI, DO>,
    pub input_metric: MI,
    pub output_measure: MO,
    pub privacy_relation: PrivacyRelation<MI, MO>,
}
Expand description

A randomized mechanism with certain privacy characteristics.

Fields

input_domain: DIoutput_domain: DOfunction: Function<DI, DO>input_metric: MIoutput_measure: MOprivacy_relation: PrivacyRelation<MI, MO>

Implementations

Converts this Measurement into one with polymorphic output. This is useful for composition of heterogeneous Measurements.

Trait Implementations

The resulting type after applying the >> operator.

Performs the >> operation. Read more

The resulting type after applying the >> operator.

Performs the >> operation. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Performs the conversion.

Performs the conversion.

Casts the value.

Casts the value.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Casts the value.

Casts the value.