pub trait TypedPageEnricher<T>: Send + Sync {
// Required method
fn enrich(
&self,
rows: Vec<T>,
context: EnrichContext,
) -> ExtensionFuture<Vec<T>>;
}Expand description
Explicit typed opt-in: implementers declare which presentation fields may be filled and preserve database fields and ordering keys.
Required Methods§
fn enrich( &self, rows: Vec<T>, context: EnrichContext, ) -> ExtensionFuture<Vec<T>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".