Skip to main content

DataTypeOps

Trait DataTypeOps 

Source
pub trait DataTypeOps {
    // Required methods
    fn data_type(&self) -> DataType;
    fn type_name(&self) -> &'static str;
}
Expand description

Trait for getting data type information.

This trait is only available with the builtin-types feature.

Required Methods§

Source

fn data_type(&self) -> DataType

Returns the DataType variant for this value.

Source

fn type_name(&self) -> &'static str

Returns a string name for this data type.

Implementors§