pub trait RustTypeMapping {
// Required method
fn map_type(&self, rust_type: &str) -> DataType;
}Expand description
Maps Rust type names to SQL data types.
Each dialect implements this to provide its own mapping from the
canonical Rust type string (e.g. "String", "i64") to a SQL
DataType.