pub struct MaskSearchHit {
pub id: String,
pub score: f64,
pub mask_id: String,
}Expand description
A nearest-mask hit: lightweight result when only the mask is of interest.
Fields§
§id: StringExperiment identifier.
score: f64Cosine similarity to the query embedding.
mask_id: Stringmask_id of the matched experiment.
Trait Implementations§
Source§impl Clone for MaskSearchHit
impl Clone for MaskSearchHit
Auto Trait Implementations§
impl Forget for MaskSearchHit
impl Freeze for MaskSearchHit
impl Move for MaskSearchHit
impl RefUnwindSafe for MaskSearchHit
impl Send for MaskSearchHit
impl Sync for MaskSearchHit
impl Unpin for MaskSearchHit
impl UnsafeUnpin for MaskSearchHit
impl UnwindSafe for MaskSearchHit
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