[][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),
    Duration(i64TimeUnit),
    List(Series),
    Object(&'a str),
}

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.

Duration(i64TimeUnit)

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

List(Series)

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.

Object(&'a str)

Use as_any to get a dyn Any

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>[src]

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

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

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

impl<'a> !UnwindSafe for AnyType<'a>[src]

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

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

impl<T> FromCast<T> for T

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToCell for T where
    T: ToString
[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>,