pub struct QueryPlan {
pub collection: String,
pub mode: Mode,
pub commands: Vec<Value>,
pub postprocess: Option<Value>,
pub sort: Option<Value>,
}Fields§
§collection: String§mode: Mode§commands: Vec<Value>§postprocess: Option<Value>结果回喂 core 做后处理(补默认值 / 递归裁剪 / 剥离注入依赖)所需信息
sort: Option<Value>两阶段还原排序用的 $sort 阶段
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryPlan
impl RefUnwindSafe for QueryPlan
impl Send for QueryPlan
impl Sync for QueryPlan
impl Unpin for QueryPlan
impl UnsafeUnpin for QueryPlan
impl UnwindSafe for QueryPlan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more