pub struct DiscoveryChunk {
pub collection: String,
pub score: f64,
pub content_preview: String,
}Expand description
One chunk from discovery.broad_discovery / discovery.semantic_focus.
Fields§
§collection: String§score: f64§content_preview: StringTrait Implementations§
Source§impl Clone for DiscoveryChunk
impl Clone for DiscoveryChunk
Auto Trait Implementations§
impl Freeze for DiscoveryChunk
impl RefUnwindSafe for DiscoveryChunk
impl Send for DiscoveryChunk
impl Sync for DiscoveryChunk
impl Unpin for DiscoveryChunk
impl UnsafeUnpin for DiscoveryChunk
impl UnwindSafe for DiscoveryChunk
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