pub struct RecallResponse {
pub query: String,
pub k: usize,
pub direct_matches: Vec<RecallItem>,
pub graph_matches: Vec<RecallItem>,
pub results: Vec<RecallItem>,
pub elapsed_ms: u64,
}Fields§
§query: String§k: usize§direct_matches: Vec<RecallItem>§graph_matches: Vec<RecallItem>§results: Vec<RecallItem>Alias agregado de direct_matches + graph_matches para contrato documentado em SKILL.md.
elapsed_ms: u64Tempo total de execução em milissegundos desde início do handler até serialização.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecallResponse
impl RefUnwindSafe for RecallResponse
impl Send for RecallResponse
impl Sync for RecallResponse
impl Unpin for RecallResponse
impl UnsafeUnpin for RecallResponse
impl UnwindSafe for RecallResponse
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