pub enum CutType {
ParagraphEnd,
SentenceEnd,
SentenceCut,
Word,
DltRow,
RowCut,
RowEnd,
}Expand description
Describes how a chunk boundary was determined.
Variants§
ParagraphEnd
Sentence ending followed by a newline (paragraph boundary).
SentenceEnd
Sentence ending punctuation without a newline.
SentenceCut
Text ended mid-sentence (no ending punctuation).
Word
Text ended mid-word.
DltRow
Single-chunk emission for DLT-ingested rows.
RowCut
Row boundary within CSV/DLT chunking (mid-row split).
RowEnd
End of a complete row in CSV/DLT chunking.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CutType
impl<'de> Deserialize<'de> for CutType
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
impl Eq for CutType
impl StructuralPartialEq for CutType
Auto Trait Implementations§
impl Freeze for CutType
impl RefUnwindSafe for CutType
impl Send for CutType
impl Sync for CutType
impl Unpin for CutType
impl UnsafeUnpin for CutType
impl UnwindSafe for CutType
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