pub trait ValueProjectionExpr {
// Required methods
fn field(&self) -> &str;
fn sql_label(&self) -> String;
fn apply_value(&self, value: Value) -> Result<Value, QueryError>;
}Expand description
ValueProjectionExpr
Shared bounded scalar projection helper contract used by fluent value-projection terminals. Implementors stay intentionally narrow and do not imply a generic expression-builder surface.
Required Methods§
Sourcefn apply_value(&self, value: Value) -> Result<Value, QueryError>
fn apply_value(&self, value: Value) -> Result<Value, QueryError>
Apply this projection to one already-loaded source value.