pub struct Document {
pub title: Option<String>,
pub metadata: Metadata,
pub blocks: Vec<Block>,
pub citations: Vec<Citation>,
}Fields§
§title: Option<String>§metadata: Metadata§blocks: Vec<Block>§citations: Vec<Citation>Citations detected in paragraph text, for provenance reporting. See
Citation – these are pointers into already-rendered text, not
separate content.
Trait Implementations§
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