pub struct IndexScope {
pub index: IndexName,
pub root: SnapshotTable,
}Expand description
What an index needs in order to be seeded: its name and the source table to
snapshot for it. A document is identified by its root row, so snapshotting
the root table alone seeds the whole index — build pulls in every join
and aggregate server-side when each root row is assembled.
Fields§
§index: IndexName§root: SnapshotTableThe index’s root table — the one whose rows map one-to-one to documents.
Trait Implementations§
Source§impl Clone for IndexScope
impl Clone for IndexScope
Source§fn clone(&self) -> IndexScope
fn clone(&self) -> IndexScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IndexScope
impl Debug for IndexScope
impl Eq for IndexScope
Source§impl PartialEq for IndexScope
impl PartialEq for IndexScope
Source§fn eq(&self, other: &IndexScope) -> bool
fn eq(&self, other: &IndexScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IndexScope
Auto Trait Implementations§
impl Freeze for IndexScope
impl RefUnwindSafe for IndexScope
impl Send for IndexScope
impl Sync for IndexScope
impl Unpin for IndexScope
impl UnsafeUnpin for IndexScope
impl UnwindSafe for IndexScope
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