pub struct LookupSpec {
pub collection: String,
pub vector: Option<String>,
pub shard_key: Option<ShardKey>,
}Expand description
LOOKUP FROM <collection> [VECTOR <name>] [SHARD <key>] group-value join hint.
Fields§
§collection: StringCollection to read group values from.
vector: Option<String>Optional named vector used by the lookup.
shard_key: Option<ShardKey>Optional shard routing for the lookup collection.
Trait Implementations§
Source§impl Clone for LookupSpec
impl Clone for LookupSpec
Source§fn clone(&self) -> LookupSpec
fn clone(&self) -> LookupSpec
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 LookupSpec
impl Debug for LookupSpec
Source§impl PartialEq for LookupSpec
impl PartialEq for LookupSpec
impl StructuralPartialEq for LookupSpec
Auto Trait Implementations§
impl Freeze for LookupSpec
impl RefUnwindSafe for LookupSpec
impl Send for LookupSpec
impl Sync for LookupSpec
impl Unpin for LookupSpec
impl UnsafeUnpin for LookupSpec
impl UnwindSafe for LookupSpec
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