pub trait ToDbParams {
// Required method
fn to_db_params(&self) -> Vec<DbValue>;
}Expand description
Trait for types that can be converted to database parameters
Required Methods§
fn to_db_params(&self) -> Vec<DbValue>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".