pub struct Chunk {
pub text: TextDigest,
pub exported: bool,
pub failed: bool,
}Expand description
One chunk of a file, as its chunk map records it.
Fields§
§text: TextDigestThe key of the text embedded for this chunk.
exported: boolWhether today’s exported-chunk boost applies to its score.
failed: boolThe embedder refused this chunk’s text, so it has no vector and never will under this model; its details say why.
Trait Implementations§
impl Copy for Chunk
impl Eq for Chunk
impl StructuralPartialEq for Chunk
Auto Trait Implementations§
impl Forget for Chunk
impl Freeze for Chunk
impl Move for Chunk
impl RefUnwindSafe for Chunk
impl Send for Chunk
impl Sync for Chunk
impl Unpin for Chunk
impl UnsafeUnpin for Chunk
impl UnwindSafe for Chunk
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