pub trait OutcomeProjection<B, O>where
B: GatekeepSqlxBackend,{
// Required method
fn constant(&self, outcome: &O) -> Result<SqlxFragment<B>, LowerError>;
}Expand description
Projection strategy for turning outcomes into SQL fragments.
Required Methods§
Sourcefn constant(&self, outcome: &O) -> Result<SqlxFragment<B>, LowerError>
fn constant(&self, outcome: &O) -> Result<SqlxFragment<B>, LowerError>
Builds a SQL fragment for a constant outcome.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".