pub struct ConvertedDocument {
pub filename: String,
pub markdown: Option<String>,
pub text: Option<String>,
pub json: Option<Value>,
pub html: Option<String>,
pub doctags: Option<String>,
pub doclang: Option<String>,
pub chunks: Vec<DoclingChunk>,
pub chunk_response: Option<ChunkDocumentResponse>,
pub archive: Option<Vec<u8>>,
pub metadata: ConvertedDocumentMetadata,
pub errors: Vec<String>,
}Fields§
§filename: String§markdown: Option<String>§text: Option<String>§json: Option<Value>§html: Option<String>§doclang: Option<String>§chunks: Vec<DoclingChunk>§chunk_response: Option<ChunkDocumentResponse>§archive: Option<Vec<u8>>§metadata: ConvertedDocumentMetadata§errors: Vec<String>Trait Implementations§
Source§impl Clone for ConvertedDocument
impl Clone for ConvertedDocument
Source§fn clone(&self) -> ConvertedDocument
fn clone(&self) -> ConvertedDocument
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 moreSource§impl Debug for ConvertedDocument
impl Debug for ConvertedDocument
Source§impl<'de> Deserialize<'de> for ConvertedDocument
impl<'de> Deserialize<'de> for ConvertedDocument
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
Auto Trait Implementations§
impl Freeze for ConvertedDocument
impl RefUnwindSafe for ConvertedDocument
impl Send for ConvertedDocument
impl Sync for ConvertedDocument
impl Unpin for ConvertedDocument
impl UnsafeUnpin for ConvertedDocument
impl UnwindSafe for ConvertedDocument
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