pub trait QueryContext:
Send
+ Sync
+ 'static {
type Model: QueryModel + Send + Sync;
type Query: FilterQuery + Send + Sync;
type Sort: QuerySort + Send + Sync;
type Join: SqlJoin + Send + Sync;
const TABLE: &'static str;
}Required Associated Constants§
Required Associated Types§
type Model: QueryModel + Send + Sync
type Query: FilterQuery + Send + Sync
type Sort: QuerySort + Send + Sync
type Join: SqlJoin + Send + Sync
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.