Struct smartnoise_validator::base::JaggedProperties[][src]

pub struct JaggedProperties {
    pub num_records: Option<Vec<i64>>,
    pub nullity: bool,
    pub aggregator: Option<AggregatorProperties>,
    pub nature: Option<Nature>,
    pub data_type: DataType,
    pub releasable: bool,
}

Derived properties for the universal Vector2DJagged.

JaggedProperties has a one-to-one mapping to the protobuf JaggedProperties message.

Fields

num_records: Option<Vec<i64>>

number of records per column

nullity: bool

true if the data may contain null values

aggregator: Option<AggregatorProperties>

set when data is aggregated, used to help compute sensitivity from the mechanisms

nature: Option<Nature>

either min/max or categories

data_type: DataType

type of data

releasable: bool

Implementations

impl JaggedProperties[src]

pub fn num_records(&self) -> Result<Vec<i64>>[src]

pub fn num_columns(&self) -> Result<i64>[src]

Trait Implementations

impl Clone for JaggedProperties[src]

impl Debug for JaggedProperties[src]

impl From<JaggedProperties> for ValueProperties[src]

Auto Trait Implementations

impl RefUnwindSafe for JaggedProperties

impl Send for JaggedProperties

impl Sync for JaggedProperties

impl Unpin for JaggedProperties

impl UnwindSafe for JaggedProperties

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]