Enum polars_lazy::logical_plan::LiteralValue[][src]

pub enum LiteralValue {
Show 16 variants Null, Boolean(bool), Utf8(String), UInt8(u8), UInt16(u16), UInt32(u32), UInt64(u64), Int8(i8), Int16(i16), Int32(i32), Int64(i64), Float32(f32), Float64(f64), Range { low: i64, high: i64, data_type: DataType, }, DateTime(NaiveDateTime), Series(NoEq<Series>),
}
This is supported on crate feature compile only.

Variants

Null
Boolean(bool)

A binary true or false.

Tuple Fields of Boolean

0: bool
Utf8(String)

A UTF8 encoded string type.

Tuple Fields of Utf8

0: String
UInt8(u8)
This is supported on crate feature dtype-u8 only.

An unsigned 8-bit integer number.

Tuple Fields of UInt8

0: u8
UInt16(u16)
This is supported on crate feature dtype-u16 only.

An unsigned 16-bit integer number.

Tuple Fields of UInt16

0: u16
UInt32(u32)

An unsigned 32-bit integer number.

Tuple Fields of UInt32

0: u32
UInt64(u64)

An unsigned 64-bit integer number.

Tuple Fields of UInt64

0: u64
Int8(i8)
This is supported on crate feature dtype-i8 only.

An 8-bit integer number.

Tuple Fields of Int8

0: i8
Int16(i16)
This is supported on crate feature dtype-i16 only.

A 16-bit integer number.

Tuple Fields of Int16

0: i16
Int32(i32)

A 32-bit integer number.

Tuple Fields of Int32

0: i32
Int64(i64)

A 64-bit integer number.

Tuple Fields of Int64

0: i64
Float32(f32)

A 32-bit floating point number.

Tuple Fields of Float32

0: f32
Float64(f64)

A 64-bit floating point number.

Tuple Fields of Float64

0: f64
Range

Fields of Range

low: i64high: i64data_type: DataType
DateTime(NaiveDateTime)
This is supported on crate features temporal and dtype-datetime only.

Tuple Fields of DateTime

0: NaiveDateTime
Series(NoEq<Series>)

Tuple Fields of Series

0: NoEq<Series>

Implementations

Getter for the DataType of the value

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

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

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

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.