pub trait ToSql {
// Required method
fn to_sql(&self, s: &mut PreparedStatement, ix: ParamIx) -> SqliteResult<()>;
}Expand description
Values that can be bound to parameters in prepared statements.
Required Methods§
Sourcefn to_sql(&self, s: &mut PreparedStatement, ix: ParamIx) -> SqliteResult<()>
fn to_sql(&self, s: &mut PreparedStatement, ix: ParamIx) -> SqliteResult<()>
Bind the ixth parameter to this value (self).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".