pub struct KnowledgeDocSearchResult {
pub document: KnowledgeDocMetadataResult,
pub score: usize,
pub matched: Vec<String>,
}Fields§
§document: KnowledgeDocMetadataResultSlim document metadata for the matched document.
score: usizeSimple relevance score derived from metadata matches.
matched: Vec<String>Metadata fields that matched the query.
Trait Implementations§
Source§impl Clone for KnowledgeDocSearchResult
impl Clone for KnowledgeDocSearchResult
Source§fn clone(&self) -> KnowledgeDocSearchResult
fn clone(&self) -> KnowledgeDocSearchResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KnowledgeDocSearchResult
impl Debug for KnowledgeDocSearchResult
Auto Trait Implementations§
impl Freeze for KnowledgeDocSearchResult
impl RefUnwindSafe for KnowledgeDocSearchResult
impl Send for KnowledgeDocSearchResult
impl Sync for KnowledgeDocSearchResult
impl Unpin for KnowledgeDocSearchResult
impl UnsafeUnpin for KnowledgeDocSearchResult
impl UnwindSafe for KnowledgeDocSearchResult
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