pub struct Document {Show 13 fields
pub markdown: Option<String>,
pub html: Option<String>,
pub raw_html: Option<String>,
pub links: Option<Vec<String>>,
pub images: Option<Vec<String>>,
pub screenshot: Option<String>,
pub json: Option<Value>,
pub summary: Option<String>,
pub actions: Option<Value>,
pub warning: Option<String>,
pub change_tracking: Option<ChangeTracking>,
pub chunks: Option<Vec<DocChunk>>,
pub metadata: Metadata,
}Fields§
§markdown: Option<String>§html: Option<String>§raw_html: Option<String>§links: Option<Vec<String>>§images: Option<Vec<String>>§screenshot: Option<String>§json: Option<Value>§summary: Option<String>§actions: Option<Value>§warning: Option<String>§change_tracking: Option<ChangeTracking>§chunks: Option<Vec<DocChunk>>§metadata: MetadataTrait Implementations§
Source§impl<'de> Deserialize<'de> for Document
impl<'de> Deserialize<'de> for Document
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 StructuralPartialEq for Document
Auto Trait Implementations§
impl Freeze for Document
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnsafeUnpin for Document
impl UnwindSafe for Document
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