trait RequestColumn {
// Required methods
fn has_type_of(&self, column: &ColumnMetadata) -> bool;
fn type_name(&self) -> String;
fn semantic_type(&self) -> Option<i32>;
fn has_null(&self) -> bool;
}Expand description
A column of a write request, as check_request_columns sees it.
Required Methods§
Sourcefn has_type_of(&self, column: &ColumnMetadata) -> bool
fn has_type_of(&self, column: &ColumnMetadata) -> bool
Returns whether the column has the data type of column.
Sourcefn semantic_type(&self) -> Option<i32>
fn semantic_type(&self) -> Option<i32>
Returns the semantic type of the column if the request carries one.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".