[][src]Enum parquet_format::FieldRepetitionType

pub enum FieldRepetitionType {
    Required,
    Optional,
    Repeated,
}

Representation of Schemas

Variants

Required

This field is required (can not be null) and each record has exactly 1 value.

Optional

The field is optional (can be null) and each record has 0 or 1 values.

Repeated

The field is repeated and can contain 0 or more values

Implementations

impl FieldRepetitionType[src]

pub fn write_to_out_protocol(
    &self,
    o_prot: &mut dyn TOutputProtocol
) -> Result<()>
[src]

pub fn read_from_in_protocol(
    i_prot: &mut dyn TInputProtocol
) -> Result<FieldRepetitionType>
[src]

Trait Implementations

impl Clone for FieldRepetitionType[src]

impl Copy for FieldRepetitionType[src]

impl Debug for FieldRepetitionType[src]

impl Eq for FieldRepetitionType[src]

impl Hash for FieldRepetitionType[src]

impl Ord for FieldRepetitionType[src]

impl PartialEq<FieldRepetitionType> for FieldRepetitionType[src]

impl PartialOrd<FieldRepetitionType> for FieldRepetitionType[src]

impl StructuralEq for FieldRepetitionType[src]

impl StructuralPartialEq for FieldRepetitionType[src]

impl TryFrom<i32> for FieldRepetitionType[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

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.