pub trait Scope: Send + Sync {
// Required method
fn apply<M>(&self, query: &mut QueryBuilderWrapper<'_, M>)
where M: Model;
}Expand description
查询结果过滤作用域
Required Methods§
Sourcefn apply<M>(&self, query: &mut QueryBuilderWrapper<'_, M>)where
M: Model,
fn apply<M>(&self, query: &mut QueryBuilderWrapper<'_, M>)where
M: Model,
将作用域应用到查询构造器
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".