[][src]Enum arrow::datatypes::DataType

pub enum DataType {
    Boolean,
    Int8,
    Int16,
    Int32,
    Int64,
    UInt8,
    UInt16,
    UInt32,
    UInt64,
    Float16,
    Float32,
    Float64,
    Utf8,
    List(Box<DataType>),
    Struct(Vec<Field>),
}

The possible relative types that are supported.

The variants of this enum include primitive fixed size types as well as parametric or nested types. Currently the Rust implementation supports the following nested types:

  • List<T>
  • Struct<T, U, V, ...>

Nested types can themselves be nested within other arrays. For more information on these types please see here.

Variants

Methods

impl DataType
[src]

Generate a JSON representation of the data type

Trait Implementations

impl PartialEq<DataType> for DataType
[src]

impl Clone for DataType
[src]

Performs copy-assignment from source. Read more

impl Eq for DataType
[src]

impl Debug for DataType
[src]

impl<'de> Deserialize<'de> for DataType
[src]

impl Serialize for DataType
[src]

Auto Trait Implementations

impl Send for DataType

impl Sync for DataType

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]