pub struct MemDocumentChunk {
pub text: String,
}Expand description
A document chunk search result used by context assembly.
Fields§
§text: StringChunk text extracted from the "text" payload key.
Trait Implementations§
Source§impl Clone for MemDocumentChunk
impl Clone for MemDocumentChunk
Source§fn clone(&self) -> MemDocumentChunk
fn clone(&self) -> MemDocumentChunk
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 moreAuto Trait Implementations§
impl Freeze for MemDocumentChunk
impl RefUnwindSafe for MemDocumentChunk
impl Send for MemDocumentChunk
impl Sync for MemDocumentChunk
impl Unpin for MemDocumentChunk
impl UnsafeUnpin for MemDocumentChunk
impl UnwindSafe for MemDocumentChunk
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