pub trait ColumnValue: Send + Sync {
// Required methods
fn to_sql_string(&self) -> String;
fn column_type(&self) -> &'static str;
}Required Methods§
fn to_sql_string(&self) -> String
fn column_type(&self) -> &'static str
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".