Module value

Source

MacrosΒ§

define_data_type_func πŸ”’
impl_as_for_value_ref πŸ”’
impl_ord_for_value_like πŸ”’
impl_try_as_primitive πŸ”’
impl_try_from_value πŸ”’
impl_value_from πŸ”’
impl_value_ref_from πŸ”’

StructsΒ§

DictionaryValue
Dictionary value.
ListValue
List value.
OrderedFloat
A wrapper around floats providing implementations of Eq, Ord, and Hash.

EnumsΒ§

ListValueRef
Reference to a ListValue.
Value
Value holds a single arbitrary value of any DataType.
ValueRef
Reference to Value.

TraitsΒ§

TryAsPrimitive

FunctionsΒ§

column_data_to_json
duration_to_scalar_value
Cast the 64-bit duration into the arrow ScalarValue with time unit.
new_item_field πŸ”’
scalar_value_to_timestamp
Convert [ScalarValue] to [Timestamp]. If it’s ScalarValue::Utf8, try to parse it with the given timezone. Return None if given scalar value cannot be converted to a valid timestamp.
time_to_scalar_value
Cast the 64-bit elapsed time into the arrow ScalarValue by time unit.
timestamp_to_scalar_value
to_null_scalar_value
transform_value_ref_to_json_value
transform a ValueRef to a serde_json::Value. The json type will be handled specially

Type AliasesΒ§

OrderedF32
OrderedF64