pub struct ExportDocumentResponse {
pub filename: String,
pub md_content: Option<String>,
pub json_content: Option<Value>,
pub html_content: Option<String>,
pub text_content: Option<String>,
pub doctags_content: Option<String>,
}Expand description
The converted document content in various formats.
Fields§
§filename: StringOriginal filename.
md_content: Option<String>Markdown content (if requested).
json_content: Option<Value>Structured JSON content (if requested). Uses generic Value because DoclingDocument is a very deep schema.
html_content: Option<String>HTML content (if requested).
text_content: Option<String>Plain text content (if requested).
DocTags content (if requested).
Trait Implementations§
Source§impl Clone for ExportDocumentResponse
impl Clone for ExportDocumentResponse
Source§fn clone(&self) -> ExportDocumentResponse
fn clone(&self) -> ExportDocumentResponse
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 moreSource§impl Debug for ExportDocumentResponse
impl Debug for ExportDocumentResponse
Source§impl<'de> Deserialize<'de> for ExportDocumentResponse
impl<'de> Deserialize<'de> for ExportDocumentResponse
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 ExportDocumentResponse
impl RefUnwindSafe for ExportDocumentResponse
impl Send for ExportDocumentResponse
impl Sync for ExportDocumentResponse
impl Unpin for ExportDocumentResponse
impl UnsafeUnpin for ExportDocumentResponse
impl UnwindSafe for ExportDocumentResponse
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