Struct smartnoise_runtime::proto::Histogram[][src]

pub struct Histogram {}

Histogram Component

This struct represents an abstract computation. Arguments are provided via the graph. Additional options are set via the fields on this struct. The return is the result of the histogram on the arguments.

Arguments

Returns

Trait Implementations

impl Clone for Histogram[src]

impl Component for Histogram[src]

impl Debug for Histogram[src]

impl Default for Histogram[src]

impl Evaluable for Histogram[src]

impl Expandable for Histogram[src]

pub fn expand_component(
    &self,
    _privacy_definition: &Option<PrivacyDefinition>,
    component: &Component,
    _public_arguments: &IndexMap<IndexKey, &Value, RandomState>,
    properties: &IndexMap<IndexKey, ValueProperties, RandomState>,
    component_id: u32,
    maximum_id: u32
) -> Result<ComponentExpansion, Error>
[src]

If min and max are not supplied, but are known statically, then add them automatically Add nodes for clamp or digitize if categories or edges are passed

impl Message for Histogram[src]

impl PartialEq<Histogram> for Histogram[src]

impl Sensitivity for Histogram[src]

pub fn compute_sensitivity(
    &self,
    privacy_definition: &PrivacyDefinition,
    properties: &IndexMap<IndexKey, ValueProperties, RandomState>,
    sensitivity_type: &SensitivitySpace
) -> Result<Value, Error>
[src]

Histogram sensitivities are backed by the the proofs here.

impl StructuralPartialEq for Histogram[src]

Auto Trait Implementations

impl RefUnwindSafe for Histogram

impl Send for Histogram

impl Sync for Histogram

impl Unpin for Histogram

impl UnwindSafe for Histogram

Blanket Implementations

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

impl<T> Az for T[src]

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

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

impl<T> CheckedAs for T[src]

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

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

impl<T> OverflowingAs for T[src]

impl<T> SaturatingAs for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<T> UnwrappedAs for T[src]

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

impl<T> WrappingAs for T[src]