Struct smartnoise_validator::bindings::builders::SnappingMechanismBuilder[][src]

pub struct SnappingMechanismBuilder<'a> {
    pub id: u32,
    pub component: &'a mut Component,
    pub release: &'a mut Release,
}

Builder interface for SnappingMechanism

Fields

id: u32component: &'a mut Componentrelease: &'a mut Release

Implementations

impl<'a> SnappingMechanismBuilder<'a>[src]

pub fn data(self, id: u32) -> Self[src]

set the id of the data argument from a previous component

pub fn lower(self, id: u32) -> Self[src]

set the id of the lower argument from a previous component

pub fn upper(self, id: u32) -> Self[src]

set the id of the upper argument from a previous component

pub fn binding_probability(self, id: u32) -> Self[src]

set the id of the binding_probability argument from a previous component

pub fn sensitivity(self, id: u32) -> Self[src]

set the id of the sensitivity argument from a previous component

pub fn privacy_usage(self, value: Vec<PrivacyUsage>) -> Self[src]

set the field attribute “privacy_usage” directly

pub fn value(self, value: Value) -> Self[src]

pub fn value_public(self, value: bool) -> Self[src]

pub fn build(self) -> u32[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for SnappingMechanismBuilder<'a>

impl<'a> Send for SnappingMechanismBuilder<'a>

impl<'a> Sync for SnappingMechanismBuilder<'a>

impl<'a> Unpin for SnappingMechanismBuilder<'a>

impl<'a> !UnwindSafe for SnappingMechanismBuilder<'a>

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, 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]