pub trait ToSqlValue {
// Required method
fn to_sql_value(&self) -> SqlValue;
}Expand description
Implemented by field types — converts to a SQL-bindable value.
Required Methods§
fn to_sql_value(&self) -> SqlValue
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".