pub trait FieldMapper {
// Required method
fn map<'a>(&self, field: &'a str) -> Cow<'a, str>;
}Expand description
Transforms a logical field name to its storage representation. Implement this in drivers to handle JSONB paths, column aliases, etc.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".