pub enum QdrantSortBy {
SortByField(Box<SortByField>),
SortBySearchType(Box<SortBySearchType>),
}Expand description
QdrantSortBy : Sort by lets you specify a method to sort the results by. If not specified, this defaults to the score of the chunks. If specified, this can be any key in the chunk metadata. This key must be a numeric value within the payload. Sort by lets you specify a method to sort the results by. If not specified, this defaults to the score of the chunks. If specified, this can be any key in the chunk metadata. This key must be a numeric value within the payload.
Variants§
SortByField(Box<SortByField>)
SortBySearchType(Box<SortBySearchType>)
Trait Implementations§
Source§impl Clone for QdrantSortBy
impl Clone for QdrantSortBy
Source§fn clone(&self) -> QdrantSortBy
fn clone(&self) -> QdrantSortBy
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 QdrantSortBy
impl Debug for QdrantSortBy
Source§impl Default for QdrantSortBy
impl Default for QdrantSortBy
Source§impl<'de> Deserialize<'de> for QdrantSortBy
impl<'de> Deserialize<'de> for QdrantSortBy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for QdrantSortBy
impl PartialEq for QdrantSortBy
Source§impl Serialize for QdrantSortBy
impl Serialize for QdrantSortBy
impl StructuralPartialEq for QdrantSortBy
Auto Trait Implementations§
impl Freeze for QdrantSortBy
impl RefUnwindSafe for QdrantSortBy
impl Send for QdrantSortBy
impl Sync for QdrantSortBy
impl Unpin for QdrantSortBy
impl UnwindSafe for QdrantSortBy
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