Module opendp::domains

source ·
Expand description

Various implementations of Domain.

These different versions of Domain provide a general set of models used throughout OpenDP. Most of the implementations are generic, with the type parameter setting the underlying Domain::Carrier type.

A data domain is a representation of the set of values on which the function associated with a transformation or measurement can operate. Each metric (see crate::metrics) is associated with certain data domains. The Domain trait is implemented for all domains used in OpenDP.

Modules§

Macros§

  • type_name 🔒
    retrieves the type_name for a given type

Structs§

  • Proof Definition
  • Proof Definition
  • A Domain that carries an underlying Domain in a Box.
  • A Domain that unwraps a Data wrapper.
  • A Domain that contains maps of (homogeneous) values.
  • Proof Definition
  • A domain that represents nullity via the Option type.
  • A Domain that contains pairs of values.
  • A Domain that contains vectors of (homogeneous) values.