Enum arrow_format::ipc::Type

source ·
pub enum Type {
Show 21 variants Null(Box<Null>), Int(Box<Int>), FloatingPoint(Box<FloatingPoint>), Binary(Box<Binary>), Utf8(Box<Utf8>), Bool(Box<Bool>), Decimal(Box<Decimal>), Date(Box<Date>), Time(Box<Time>), Timestamp(Box<Timestamp>), Interval(Box<Interval>), List(Box<List>), Struct(Box<Struct>), Union(Box<Union>), FixedSizeBinary(Box<FixedSizeBinary>), FixedSizeList(Box<FixedSizeList>), Map(Box<Map>), Duration(Box<Duration>), LargeBinary(Box<LargeBinary>), LargeUtf8(Box<LargeUtf8>), LargeList(Box<LargeList>),
}

Variants§

§

Null(Box<Null>)

§

Int(Box<Int>)

§

FloatingPoint(Box<FloatingPoint>)

§

Binary(Box<Binary>)

§

Utf8(Box<Utf8>)

§

Bool(Box<Bool>)

§

Decimal(Box<Decimal>)

§

Date(Box<Date>)

§

Time(Box<Time>)

§

Timestamp(Box<Timestamp>)

§

Interval(Box<Interval>)

§

List(Box<List>)

§

Struct(Box<Struct>)

§

Union(Box<Union>)

§

FixedSizeBinary(Box<FixedSizeBinary>)

§

FixedSizeList(Box<FixedSizeList>)

§

Map(Box<Map>)

§

Duration(Box<Duration>)

§

LargeBinary(Box<LargeBinary>)

§

LargeUtf8(Box<LargeUtf8>)

§

LargeList(Box<LargeList>)

Implementations§

source§

impl Type

source

pub fn create_null( builder: &mut Builder, value: impl WriteAsOffset<Null> ) -> UnionOffset<Self>

source

pub fn create_int( builder: &mut Builder, value: impl WriteAsOffset<Int> ) -> UnionOffset<Self>

source

pub fn create_floating_point( builder: &mut Builder, value: impl WriteAsOffset<FloatingPoint> ) -> UnionOffset<Self>

source

pub fn create_binary( builder: &mut Builder, value: impl WriteAsOffset<Binary> ) -> UnionOffset<Self>

source

pub fn create_utf8( builder: &mut Builder, value: impl WriteAsOffset<Utf8> ) -> UnionOffset<Self>

source

pub fn create_bool( builder: &mut Builder, value: impl WriteAsOffset<Bool> ) -> UnionOffset<Self>

source

pub fn create_decimal( builder: &mut Builder, value: impl WriteAsOffset<Decimal> ) -> UnionOffset<Self>

source

pub fn create_date( builder: &mut Builder, value: impl WriteAsOffset<Date> ) -> UnionOffset<Self>

source

pub fn create_time( builder: &mut Builder, value: impl WriteAsOffset<Time> ) -> UnionOffset<Self>

source

pub fn create_timestamp( builder: &mut Builder, value: impl WriteAsOffset<Timestamp> ) -> UnionOffset<Self>

source

pub fn create_interval( builder: &mut Builder, value: impl WriteAsOffset<Interval> ) -> UnionOffset<Self>

source

pub fn create_list( builder: &mut Builder, value: impl WriteAsOffset<List> ) -> UnionOffset<Self>

source

pub fn create_struct( builder: &mut Builder, value: impl WriteAsOffset<Struct> ) -> UnionOffset<Self>

source

pub fn create_union( builder: &mut Builder, value: impl WriteAsOffset<Union> ) -> UnionOffset<Self>

source

pub fn create_fixed_size_binary( builder: &mut Builder, value: impl WriteAsOffset<FixedSizeBinary> ) -> UnionOffset<Self>

source

pub fn create_fixed_size_list( builder: &mut Builder, value: impl WriteAsOffset<FixedSizeList> ) -> UnionOffset<Self>

source

pub fn create_map( builder: &mut Builder, value: impl WriteAsOffset<Map> ) -> UnionOffset<Self>

source

pub fn create_duration( builder: &mut Builder, value: impl WriteAsOffset<Duration> ) -> UnionOffset<Self>

source

pub fn create_large_binary( builder: &mut Builder, value: impl WriteAsOffset<LargeBinary> ) -> UnionOffset<Self>

source

pub fn create_large_utf8( builder: &mut Builder, value: impl WriteAsOffset<LargeUtf8> ) -> UnionOffset<Self>

source

pub fn create_large_list( builder: &mut Builder, value: impl WriteAsOffset<LargeList> ) -> UnionOffset<Self>

Trait Implementations§

source§

impl Clone for Type

source§

fn clone(&self) -> Type

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Type

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Type

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for Type

source§

fn eq(&self, other: &Type) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Type

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> TryFrom<TypeRef<'a>> for Type

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(value: TypeRef<'a>) -> Result<Self>

Performs the conversion.
source§

impl StructuralPartialEq for Type

source§

impl WriteAsOptionalUnion<Type> for Type

source§

impl WriteAsUnion<Type> for Type

Auto Trait Implementations§

§

impl Freeze for Type

§

impl RefUnwindSafe for Type

§

impl Send for Type

§

impl Sync for Type

§

impl Unpin for Type

§

impl UnwindSafe for Type

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

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