pub trait Scalar: Debug + Send + Sync {
    fn as_any(&self) -> &dyn Any;
    fn is_valid(&self) -> bool;
    fn data_type(&self) -> &DataType;
}
Expand description

Trait object declaring an optional value with a DataType. This strait is often used in APIs that accept multiple scalar types.

Required Methods

convert itself to

whether it is valid

the logical type.

Trait Implementations

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

This method tests for !=.

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

This method tests for !=.

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

This method tests for !=.

Implementors