pub trait SqlParam {
// Required method
fn encode(&self) -> Vec<u8> ⓘ;
}Expand description
Trait for types that can be encoded as SQL prepared statement parameters.
This trait enables the [params!] macro to automatically encode values.
All implementations use #[inline] for zero-cost abstraction.