pub enum LiteralValue {
Show 18 variants Null, Boolean(bool), Utf8(String), Binary(Vec<u8>), 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(NaiveDateTimeTimeUnit), Duration(ChronoDurationTimeUnit), Series(SpecialEq<Series>),
}

Variants§

§

Null

§

Boolean(bool)

A binary true or false.

§

Utf8(String)

A UTF8 encoded string type.

§

Binary(Vec<u8>)

Available on crate feature dtype-binary only.

A raw binary array

§

UInt8(u8)

Available on crate feature dtype-u8 only.

An unsigned 8-bit integer number.

§

UInt16(u16)

Available on crate feature dtype-u16 only.

An unsigned 16-bit integer number.

§

UInt32(u32)

An unsigned 32-bit integer number.

§

UInt64(u64)

An unsigned 64-bit integer number.

§

Int8(i8)

Available on crate feature dtype-i8 only.

An 8-bit integer number.

§

Int16(i16)

Available on crate feature dtype-i16 only.

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.

§

Range

Fields

§low: i64
§high: i64
§data_type: DataType
§

DateTime(NaiveDateTimeTimeUnit)

Available on crate features temporal and dtype-datetime only.
§

Duration(ChronoDurationTimeUnit)

Available on crate features temporal and dtype-duration only.
§

Series(SpecialEq<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 ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
The type returned in the event of a conversion error.
Performs the conversion.

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

Returns the argument unchanged.

Calls U::from(self).

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

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