Struct smartnoise_validator::proto::ArrayProperties[][src]

pub struct ArrayProperties {
    pub num_records: Option<I64Null>,
    pub num_columns: Option<I64Null>,
    pub nullity: bool,
    pub c_stability: u32,
    pub aggregator: Option<AggregatorProperties>,
    pub data_type: i32,
    pub releasable: bool,
    pub dataset_id: Option<I64Null>,
    pub is_not_empty: bool,
    pub dimensionality: Option<I64Null>,
    pub group_id: Vec<GroupId>,
    pub naturally_ordered: bool,
    pub sample_proportion: Option<F64Null>,
    pub node_id: u32,
    pub nature: Option<Nature>,
}

Fields

num_records: Option<I64Null>num_columns: Option<I64Null>nullity: boolc_stability: u32aggregator: Option<AggregatorProperties>data_type: i32releasable: booldataset_id: Option<I64Null>is_not_empty: booldimensionality: Option<I64Null>group_id: Vec<GroupId>naturally_ordered: bool

true if row ordering has not changed

sample_proportion: Option<F64Null>

proportion of records this array contains sampled from the original dataset

node_id: u32

useful to reference an intermediate calculation

nature: Option<Nature>

Implementations

impl ArrayProperties[src]

pub fn data_type(&self) -> DataType[src]

Returns the enum value of data_type, or the default if the field is set to an invalid enum value.

pub fn set_data_type(&mut self, value: DataType)[src]

Sets data_type to the provided enum value.

Trait Implementations

impl Clone for ArrayProperties[src]

impl Debug for ArrayProperties[src]

impl Default for ArrayProperties[src]

impl Message for ArrayProperties[src]

impl PartialEq<ArrayProperties> for ArrayProperties[src]

impl StructuralPartialEq for ArrayProperties[src]

Auto Trait Implementations

impl RefUnwindSafe for ArrayProperties

impl Send for ArrayProperties

impl Sync for ArrayProperties

impl Unpin for ArrayProperties

impl UnwindSafe for ArrayProperties

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]