#[non_exhaustive]pub struct KnowledgeSearchOutput {
pub results: Vec<KnowledgeSearchHit>,
pub reranked_by: String,
pub embedding_model: String,
pub namespaces_skipped: Vec<String>,
pub stale_dropped: Integer,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.results: Vec<KnowledgeSearchHit>§reranked_by: String§embedding_model: String§namespaces_skipped: Vec<String>§stale_dropped: IntegerTrait Implementations§
Source§impl Clone for KnowledgeSearchOutput
impl Clone for KnowledgeSearchOutput
Source§impl Debug for KnowledgeSearchOutput
impl Debug for KnowledgeSearchOutput
Source§impl<'de> Deserialize<'de> for KnowledgeSearchOutput
impl<'de> Deserialize<'de> for KnowledgeSearchOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for KnowledgeSearchOutput
impl PartialEq for KnowledgeSearchOutput
Source§impl Serialize for KnowledgeSearchOutput
impl Serialize for KnowledgeSearchOutput
impl StructuralPartialEq for KnowledgeSearchOutput
Auto Trait Implementations§
impl Forget for KnowledgeSearchOutput
impl Freeze for KnowledgeSearchOutput
impl Move for KnowledgeSearchOutput
impl RefUnwindSafe for KnowledgeSearchOutput
impl Send for KnowledgeSearchOutput
impl Sync for KnowledgeSearchOutput
impl Unpin for KnowledgeSearchOutput
impl UnsafeUnpin for KnowledgeSearchOutput
impl UnwindSafe for KnowledgeSearchOutput
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