#[non_exhaustive]pub struct ParsedEntry {
pub ref_: Ref,
pub entry_key: Option<String>,
}Expand description
One successfully-parsed bibliography entry.
entry_key echoes the source bibliography’s citation key
(BibTeX @article{KEY,…} / CSL-JSON "id") so downstream
automation can bridge the fetch outcome back to the originating
reference — the load-bearing field for the Zotero / Mendeley
“attach fetched PDF to this reference” workflow per ADR-0030 §6.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ref_: RefThe identifier the adapter chose for this entry (Ref::Doi /
Ref::Arxiv).
entry_key: Option<String>The source bibliography’s citation key, when one is available.
None for plain-refs input (no key concept) and for any
future input shape that lacks per-entry keys.
Trait Implementations§
Source§impl Clone for ParsedEntry
impl Clone for ParsedEntry
Source§fn clone(&self) -> ParsedEntry
fn clone(&self) -> ParsedEntry
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 ParsedEntry
impl Debug for ParsedEntry
Source§impl PartialEq for ParsedEntry
impl PartialEq for ParsedEntry
Source§fn eq(&self, other: &ParsedEntry) -> bool
fn eq(&self, other: &ParsedEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ParsedEntry
impl StructuralPartialEq for ParsedEntry
Auto Trait Implementations§
impl Freeze for ParsedEntry
impl RefUnwindSafe for ParsedEntry
impl Send for ParsedEntry
impl Sync for ParsedEntry
impl Unpin for ParsedEntry
impl UnsafeUnpin for ParsedEntry
impl UnwindSafe for ParsedEntry
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