pub enum EmbedSource {
Correlated {
target_key: Vec<String>,
parent_key: Vec<String>,
key_type: ScalarFieldType,
},
Materialised {
keys: Vec<String>,
},
}Expand description
Where an embedded level’s rows come from.
Variants§
Rows of the level’s view whose target_key equals the parent row’s parent_key.
Materialised
The value the parent row’s own document holds under the first of keys it has:
each object element of it for EmbedShape::Many, the object itself for
EmbedShape::One. The level’s view is not read.
The level’s predicate is evaluated against each element as if it were a row of the level’s view, so it may only read the element’s document: a native-column condition has no column to read here, and is refused rather than rendered. A count, an ordering and a projection are refused too — the elements keep the order the parent stored them in.
Trait Implementations§
Source§impl Clone for EmbedSource
impl Clone for EmbedSource
Source§fn clone(&self) -> EmbedSource
fn clone(&self) -> EmbedSource
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 EmbedSource
impl Debug for EmbedSource
impl Eq for EmbedSource
Source§impl PartialEq for EmbedSource
impl PartialEq for EmbedSource
impl StructuralPartialEq for EmbedSource
Auto Trait Implementations§
impl Freeze for EmbedSource
impl RefUnwindSafe for EmbedSource
impl Send for EmbedSource
impl Sync for EmbedSource
impl Unpin for EmbedSource
impl UnsafeUnpin for EmbedSource
impl UnwindSafe for EmbedSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.