pub struct Selection {
pub query: String,
pub expect: Option<SelectionExpect>,
pub templates: Vec<Value>,
pub cardinality: usize,
pub identities: Vec<String>,
}Expand description
§11.8 selection (3.1): the seventh member of the digested core when
the plan was derived from an OQX selector — the query and the templates
as given (an { oqx } slot intact; never the rewritten tree), the
bound, the hit count and the hit ids in result order. A hit that appears
or vanishes between plan and execute changes identities, so the
digest form is plan_mismatch without re-running anything but the plan.
Fields§
§query: String§expect: Option<SelectionExpect>§templates: Vec<Value>§cardinality: usize§identities: Vec<String>Implementations§
Trait Implementations§
impl StructuralPartialEq for Selection
Auto Trait Implementations§
impl Freeze for Selection
impl RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnsafeUnpin for Selection
impl UnwindSafe for Selection
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