Skip to main content

Scope

Trait Scope 

Source
pub trait Scope: Send + Sync {
    // Required method
    fn apply<M>(&self, query: &mut QueryBuilderWrapper<'_, M>)
       where M: Model;
}
Expand description

查询结果过滤作用域

Required Methods§

Source

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".

Implementors§