pub struct Selection {
pub view: String,
pub rows: Vec<Row>,
}Expand description
The documents a view covers: in scope, past its conditions, deduplicated, ordered by path.
Each document appears once, however many groups it will later fall into.
That is the difference between this and a RowSet, and it
is why “how many documents does this view cover” is a question only this type
can answer.
Fields§
§view: StringThe name of the view that produced this.
rows: Vec<Row>The documents, ordered by path.
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