pub struct ArticleFileData {
pub path: String,
pub metadata: Metadata,
pub markdown_content: String,
pub entries_disambiguated: Vec<MatchedCitationDisambiguated>,
pub full_file_content: String,
}Expand description
Contents of an article file as well as path and matched entries.
Fields§
§path: StringPath to the file whose contents were extracted.
metadata: MetadataMetadata enclosed at the top of the file.
markdown_content: StringContents of the file.
entries_disambiguated: Vec<MatchedCitationDisambiguated>A set of citations that exist in the source .bib file with disambiguated author date and date.
full_file_content: StringOriginal contents of the file, includes metadata.
Trait Implementations§
Source§impl Clone for ArticleFileData
impl Clone for ArticleFileData
Source§fn clone(&self) -> ArticleFileData
fn clone(&self) -> ArticleFileData
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 ArticleFileData
impl Debug for ArticleFileData
Auto Trait Implementations§
impl Freeze for ArticleFileData
impl RefUnwindSafe for ArticleFileData
impl Send for ArticleFileData
impl Sync for ArticleFileData
impl Unpin for ArticleFileData
impl UnwindSafe for ArticleFileData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more