Enum smartnoise_runtime::proto::component::Variant [−][src]
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)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]
B: BufMut,
pub fn merge<B>(
field: &mut Option<Variant>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf, [src]
field: &mut Option<Variant>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
pub fn encoded_len(&self) -> usize[src]
Trait Implementations
impl Clone for Variant[src]
impl Debug for Variant[src]
impl Evaluable for Variant[src]
fn evaluate(
&self,
privacy_definition: &Option<PrivacyDefinition>,
arguments: NodeArguments
) -> Result<ReleaseNode>[src]
&self,
privacy_definition: &Option<PrivacyDefinition>,
arguments: NodeArguments
) -> Result<ReleaseNode>
Utility implementation on the enum containing all variants of a component.
This utility delegates evaluation to the concrete implementation of each component variant.
impl PartialEq<Variant> for Variant[src]
impl Sensitivity for Variant[src]
pub fn compute_sensitivity(
&self,
privacy_definition: &PrivacyDefinition,
properties: &IndexMap<IndexKey, ValueProperties, RandomState>,
sensitivity_type: &SensitivitySpace
) -> Result<Value, Error>[src]
&self,
privacy_definition: &PrivacyDefinition,
properties: &IndexMap<IndexKey, ValueProperties, RandomState>,
sensitivity_type: &SensitivitySpace
) -> Result<Value, Error>
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]
T: 'static + ?Sized,
impl<T> Az for T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> CheckedAs for T[src]
pub fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>, [src]
T: CheckedCast<Dst>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> OverflowingAs for T[src]
pub fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>, [src]
T: OverflowingCast<Dst>,
impl<T> SaturatingAs for T[src]
pub fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>, [src]
T: SaturatingCast<Dst>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> UnwrappedAs for T[src]
pub fn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>, [src]
T: UnwrappedCast<Dst>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>, [src]
V: MultiLane<T>,
impl<T> WrappingAs for T[src]
pub fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>, [src]
T: WrappingCast<Dst>,