[][src]Enum polars::datatypes::AnyType

pub enum AnyType<'a> {
    Null,
    Boolean(bool),
    Utf8(&'a str),
    UInt8(u8),
    UInt16(u16),
    UInt32(u32),
    UInt64(u64),
    Int8(i8),
    Int16(i16),
    Int32(i32),
    Int64(i64),
    Float32(f32),
    Float64(f64),
    Date32(i32),
    Date64(i64),
    Time64(i64TimeUnit),
    Time32(i32TimeUnit),
    Duration(i64TimeUnit),
    TimeStamp(i64TimeUnit),
    IntervalDayTime(i64),
    IntervalYearMonth(i32),
    LargeList(Series),
}

Variants

Null
Boolean(bool)

A binary true or false.

Utf8(&'a str)

A UTF8 encoded string type.

UInt8(u8)

An unsigned 8-bit integer number.

UInt16(u16)

An unsigned 16-bit integer number.

UInt32(u32)

An unsigned 32-bit integer number.

UInt64(u64)

An unsigned 64-bit integer number.

Int8(i8)

An 8-bit integer number.

Int16(i16)

A 16-bit integer number.

Int32(i32)

A 32-bit integer number.

Int64(i64)

A 64-bit integer number.

Float32(f32)

A 32-bit floating point number.

Float64(f64)

A 64-bit floating point number.

Date32(i32)

A 32-bit date representing the elapsed time since UNIX epoch (1970-01-01) in days (32 bits).

Date64(i64)

A 64-bit date representing the elapsed time since UNIX epoch (1970-01-01) in milliseconds (64 bits).

Time64(i64TimeUnit)

A 64-bit time representing the elapsed time since midnight in the unit of TimeUnit.

Time32(i32TimeUnit)

A 32-bit time representing the elapsed time since midnight in the unit of TimeUnit.

Duration(i64TimeUnit)

Measure of elapsed time in either seconds, milliseconds, microseconds or nanoseconds.

TimeStamp(i64TimeUnit)

Naive Time elapsed from the Unix epoch, 00:00:00.000 on 1 January 1970, excluding leap seconds, as a 64-bit integer. Note that UNIX time does not include leap seconds.

IntervalDayTime(i64)

A "calendar" interval which models types that don't necessarily have a precise duration without the context of a base timestamp (e.g. days can differ in length during day light savings time transitions).

IntervalYearMonth(i32)
LargeList(Series)

Trait Implementations

impl<'a> Debug for AnyType<'a>[src]

impl<'_> Display for AnyType<'_>[src]

impl<'a> PartialEq<AnyType<'a>> for AnyType<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for AnyType<'a>

impl<'a> Send for AnyType<'a>

impl<'a> Sync for AnyType<'a>

impl<'a> Unpin for AnyType<'a>

impl<'a> !UnwindSafe for AnyType<'a>

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, U> Cast<U> for T where
    U: FromCast<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> FromCast<T> for T[src]

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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>,