pub struct HybridSearchItem {
pub memory_id: i64,
pub name: String,
pub namespace: String,
pub memory_type: String,
pub description: String,
pub body: String,
pub combined_score: f64,
pub score: f64,
pub source: String,
pub vec_rank: Option<usize>,
pub fts_rank: Option<usize>,
}Fields§
§memory_id: i64§name: String§namespace: String§memory_type: String§description: String§body: String§combined_score: f64§score: f64Alias de combined_score para contrato documentado em SKILL.md.
source: StringFonte do match: sempre “hybrid” (RRF de vec + fts). Adicionado em v2.0.1.
vec_rank: Option<usize>§fts_rank: Option<usize>Trait Implementations§
Auto Trait Implementations§
impl Freeze for HybridSearchItem
impl RefUnwindSafe for HybridSearchItem
impl Send for HybridSearchItem
impl Sync for HybridSearchItem
impl Unpin for HybridSearchItem
impl UnsafeUnpin for HybridSearchItem
impl UnwindSafe for HybridSearchItem
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more