Enum smartnoise_validator::proto::component::Variant[][src]

pub enum Variant {
    Abs(Abs),
    Add(Add),
    Cast(Cast),
    Clamp(Clamp),
    ColumnBind(ColumnBind),
    Count(Count),
    Covariance(Covariance),
    Digitize(Digitize),
    Divide(Divide),
    DpCount(DpCount),
    DpCovariance(DpCovariance),
    DpGumbelMedian(DpGumbelMedian),
    DpHistogram(DpHistogram),
    DpLinearRegression(DpLinearRegression),
    DpMaximum(DpMaximum),
    DpMean(DpMean),
    DpMedian(DpMedian),
    DpMinimum(DpMinimum),
    DpQuantile(DpQuantile),
    DpRawMoment(DpRawMoment),
    DpSum(DpSum),
    DpVariance(DpVariance),
    Equal(Equal),
    ExponentialMechanism(ExponentialMechanism),
    Filter(Filter),
    GaussianMechanism(GaussianMechanism),
    GreaterThan(GreaterThan),
    Histogram(Histogram),
    Impute(Impute),
    Index(Index),
    LaplaceMechanism(LaplaceMechanism),
    LessThan(LessThan),
    Literal(Literal),
    Log(Log),
    LogicalAnd(And),
    LogicalOr(Or),
    Map(Box<Map>),
    Materialize(Materialize),
    Maximum(Maximum),
    Mean(Mean),
    Median(Median),
    Minimum(Minimum),
    Modulo(Modulo),
    Multiply(Multiply),
    Negate(Negate),
    Negative(Negative),
    Partition(Partition),
    Power(Power),
    Quantile(Quantile),
    RawMoment(RawMoment),
    Reshape(Reshape),
    Resize(Resize),
    RowMax(RowMax),
    RowMin(RowMin),
    SimpleGeometricMechanism(SimpleGeometricMechanism),
    SnappingMechanism(SnappingMechanism),
    Subtract(Subtract),
    Sum(Sum),
    TheilSen(TheilSen),
    ToBool(ToBool),
    ToDataframe(ToDataframe),
    ToFloat(ToFloat),
    ToInt(ToInt),
    ToString(ToString),
    Union(Union),
    Variance(Variance),
}

Variants

Abs(Abs)
Add(Add)
Cast(Cast)
Clamp(Clamp)
ColumnBind(ColumnBind)
Count(Count)
Covariance(Covariance)
Digitize(Digitize)
Divide(Divide)
DpCount(DpCount)
DpCovariance(DpCovariance)
DpGumbelMedian(DpGumbelMedian)
DpHistogram(DpHistogram)
DpLinearRegression(DpLinearRegression)
DpMaximum(DpMaximum)
DpMean(DpMean)
DpMedian(DpMedian)
DpMinimum(DpMinimum)
DpQuantile(DpQuantile)
DpRawMoment(DpRawMoment)
DpSum(DpSum)
DpVariance(DpVariance)
Equal(Equal)
ExponentialMechanism(ExponentialMechanism)
Filter(Filter)
GaussianMechanism(GaussianMechanism)
GreaterThan(GreaterThan)
Histogram(Histogram)
Impute(Impute)
Index(Index)
LaplaceMechanism(LaplaceMechanism)
LessThan(LessThan)
Literal(Literal)
Log(Log)
LogicalAnd(And)
LogicalOr(Or)
Map(Box<Map>)
Materialize(Materialize)
Maximum(Maximum)
Mean(Mean)
Median(Median)
Minimum(Minimum)
Modulo(Modulo)
Multiply(Multiply)
Negate(Negate)
Negative(Negative)
Partition(Partition)
Power(Power)
Quantile(Quantile)
RawMoment(RawMoment)
Reshape(Reshape)
Resize(Resize)
RowMax(RowMax)
RowMin(RowMin)
SimpleGeometricMechanism(SimpleGeometricMechanism)
SnappingMechanism(SnappingMechanism)
Subtract(Subtract)
Sum(Sum)
TheilSen(TheilSen)
ToBool(ToBool)
ToDataframe(ToDataframe)
ToFloat(ToFloat)
ToInt(ToInt)
ToString(ToString)
Union(Union)
Variance(Variance)

Implementations

impl Variant[src]

pub fn encode<B>(&self, buf: &mut B) where
    B: BufMut
[src]

pub fn merge<B>(
    field: &mut Option<Variant>,
    tag: u32,
    wire_type: WireType,
    buf: &mut B,
    ctx: DecodeContext
) -> Result<(), DecodeError> where
    B: Buf
[src]

pub fn encoded_len(&self) -> usize[src]

Trait Implementations

impl Clone for Variant[src]

impl Debug for Variant[src]

impl PartialEq<Variant> for Variant[src]

impl Sensitivity for Variant[src]

fn compute_sensitivity(
    &self,
    privacy_definition: &PrivacyDefinition,
    properties: &NodeProperties,
    sensitivity_type: &SensitivitySpace
) -> Result<Value>
[src]

Utility implementation on the enum containing all variants of a component.

This utility delegates evaluation to the concrete implementation of each component variant.

impl StructuralPartialEq for Variant[src]

Auto Trait Implementations

impl RefUnwindSafe for Variant

impl Send for Variant

impl Sync for Variant

impl Unpin for Variant

impl UnwindSafe for Variant

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

impl<T, U> Into<U> for T where
    U: From<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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]