Enum polars::prelude::datatypes::AnyValue [−][src]
pub enum AnyValue<'a> {
Show 19 variants
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(i64, TimeUnit),
Duration(i64, TimeUnit),
List(Series),
Object(&'a (dyn PolarsObjectSafe + 'static)),
}
Variants
Boolean(bool)
A binary true or false.
Tuple Fields of Boolean
0: bool
Utf8(&'a str)
A UTF8 encoded string type.
Tuple Fields of Utf8
0: &'a str
UInt8(u8)
An unsigned 8-bit integer number.
Tuple Fields of UInt8
0: u8
UInt16(u16)
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)
An 8-bit integer number.
Tuple Fields of Int8
0: i8
Int16(i16)
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
Date32(i32)
A 32-bit date representing the elapsed time since UNIX epoch (1970-01-01) in days (32 bits).
Tuple Fields of Date32
0: i32
Date64(i64)
A 64-bit date representing the elapsed time since UNIX epoch (1970-01-01) in milliseconds (64 bits).
Tuple Fields of Date64
0: i64
A 64-bit time representing the elapsed time since midnight in the unit of TimeUnit
.
A 32-bit time representing the elapsed time since midnight in the unit of TimeUnit
.
List(Series)
Nested type, contains arrays that are filled with one of the datetypes.
Tuple Fields of List
0: Series
Object(&'a (dyn PolarsObjectSafe + 'static))
Can be used to fmt and implements Any, so can be downcasted to the proper value type.
Tuple Fields of Object
0: &'a (dyn PolarsObjectSafe + 'static)
Implementations
Trait Implementations
Only implemented for the same types and physical types!
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<'a> !RefUnwindSafe for AnyValue<'a>
impl<'a> !UnwindSafe for AnyValue<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more