pub struct ContentChunk {
pub chunk_id: String,
pub content_id: String,
pub block_ids: Vec<Ulid>,
pub chapter_number: Option<u8>,
pub section_path: String,
pub chunk_type: SectionType,
pub text: String,
pub token_count: u32,
}Fields§
§chunk_id: String§content_id: String§block_ids: Vec<Ulid>§chapter_number: Option<u8>§section_path: String§chunk_type: SectionType§text: String§token_count: u32Trait Implementations§
Source§impl Clone for ContentChunk
impl Clone for ContentChunk
Source§fn clone(&self) -> ContentChunk
fn clone(&self) -> ContentChunk
Returns a duplicate of the value. Read more
1.0.0 · 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 ContentChunk
impl RefUnwindSafe for ContentChunk
impl Send for ContentChunk
impl Sync for ContentChunk
impl Unpin for ContentChunk
impl UnsafeUnpin for ContentChunk
impl UnwindSafe for ContentChunk
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