pub struct SearchResult {
pub id: String,
pub score: f32,
pub vector: Vec<f32>,
pub text: Option<String>,
pub metadata: Option<HashMap<String, Value>>,
}Expand description
Search result
Fields§
§id: String§score: f32§vector: Vec<f32>§text: Option<String>§metadata: Option<HashMap<String, Value>>Implementations§
Trait Implementations§
Source§impl Clone for SearchResult
impl Clone for SearchResult
Auto Trait Implementations§
impl Freeze for SearchResult
impl RefUnwindSafe for SearchResult
impl Send for SearchResult
impl Sync for SearchResult
impl Unpin for SearchResult
impl UnsafeUnpin for SearchResult
impl UnwindSafe for SearchResult
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