pub struct GroupedQueryRows {
pub roots: Vec<NodeRow>,
pub expansions: Vec<ExpansionSlotRows>,
pub edge_expansions: Vec<EdgeExpansionSlotRows>,
pub was_degraded: bool,
}Expand description
Result set from executing a grouped compiled query.
Derives PartialEq only when edge_expansions is non-empty (transitive
through EdgeRow). Default remains Eq-able in practice because an
empty edge_expansions vec holds no floats; we derive PartialEq only
to keep the contract consistent.
Fields§
§roots: Vec<NodeRow>Root node rows matched by the base query.
expansions: Vec<ExpansionSlotRows>Per-slot expansion results.
edge_expansions: Vec<EdgeExpansionSlotRows>Per-slot edge-expansion results.
was_degraded: booltrue when a capability miss caused the query to degrade to an empty result.
Trait Implementations§
Source§impl Clone for GroupedQueryRows
impl Clone for GroupedQueryRows
Source§fn clone(&self) -> GroupedQueryRows
fn clone(&self) -> GroupedQueryRows
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GroupedQueryRows
impl Debug for GroupedQueryRows
Source§impl Default for GroupedQueryRows
impl Default for GroupedQueryRows
Source§fn default() -> GroupedQueryRows
fn default() -> GroupedQueryRows
Returns the “default value” for a type. Read more
Source§impl PartialEq for GroupedQueryRows
impl PartialEq for GroupedQueryRows
impl StructuralPartialEq for GroupedQueryRows
Auto Trait Implementations§
impl Freeze for GroupedQueryRows
impl RefUnwindSafe for GroupedQueryRows
impl Send for GroupedQueryRows
impl Sync for GroupedQueryRows
impl Unpin for GroupedQueryRows
impl UnsafeUnpin for GroupedQueryRows
impl UnwindSafe for GroupedQueryRows
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