pub struct DocumentRecord {
pub source_path: String,
pub kind: DocumentKind,
pub title: Option<String>,
pub status: Option<String>,
pub headings: Vec<String>,
pub owners: Vec<String>,
pub references: Vec<ExplicitReference>,
pub warnings: Vec<String>,
pub incomplete: bool,
}Expand description
Structured facts retained for one documentation record.
Fields§
§source_path: StringRepository-relative source path.
kind: DocumentKindExplicitly classified document kind.
title: Option<String>Front matter title, first level-one heading, or explicit catalog name.
status: Option<String>Explicit front matter or catalog status.
headings: Vec<String>Bounded Markdown heading text in source order.
owners: Vec<String>Explicit owner identities in source order.
references: Vec<ExplicitReference>Explicit graph references in source order.
warnings: Vec<String>Bounded, non-sensitive extraction warnings.
incomplete: boolWhether any facts were omitted, redacted, malformed, or truncated.
Trait Implementations§
Source§impl Clone for DocumentRecord
impl Clone for DocumentRecord
Source§fn clone(&self) -> DocumentRecord
fn clone(&self) -> DocumentRecord
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 DocumentRecord
impl Debug for DocumentRecord
Source§impl<'de> Deserialize<'de> for DocumentRecord
impl<'de> Deserialize<'de> for DocumentRecord
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 Eq for DocumentRecord
Source§impl PartialEq for DocumentRecord
impl PartialEq for DocumentRecord
Source§impl Serialize for DocumentRecord
impl Serialize for DocumentRecord
impl StructuralPartialEq for DocumentRecord
Auto Trait Implementations§
impl Freeze for DocumentRecord
impl RefUnwindSafe for DocumentRecord
impl Send for DocumentRecord
impl Sync for DocumentRecord
impl Unpin for DocumentRecord
impl UnsafeUnpin for DocumentRecord
impl UnwindSafe for DocumentRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.