pub struct DoigetExtension {
pub fetched_at: DateTime<Utc>,
pub source: String,
pub license: String,
pub oa_status: Option<String>,
pub size_bytes: u64,
pub mcp_call_id: Option<String>,
pub tags: Vec<String>,
pub collections: Vec<String>,
pub annotation: Option<String>,
pub repaired_fields: BTreeMap<String, String>,
pub short_venue: Option<String>,
pub origin: Option<String>,
}Expand description
doiget-specific extension table ([doiget]).
Per docs/STORE.md §6, doiget owns this table outright and may
overwrite its contents on a re-fetch. BiblioFetch.jl ignores it.
Fields§
§fetched_at: DateTime<Utc>RFC3339 UTC timestamp of the fetch that produced this entry.
source: StringWhich Source produced this entry (e.g. unpaywall).
license: StringOA license string, or the literal "unknown".
oa_status: Option<String>Open-access status for the work, when the resolver supplied one:
Unpaywall’s gold / green / hybrid / bronze / closed, or
"green" for an arXiv ref (#281 item 4, OA transparency). Absent
(None, omitted from the TOML) when not determined — e.g. a
Crossref-only metadata-only entry. Additive optional field (does not
bump schema_version; docs/STORE.md §7 additive policy).
size_bytes: u64Size of the stored PDF in bytes.
mcp_call_id: Option<String>ULID of the originating MCP call, if the fetch came in via MCP.
User-assigned tags for this paper (e.g. ["ml", "gw-physics"]).
Additive optional field — does not bump schema_version
(docs/STORE.md §7 additive policy). Set via doiget tag (#294).
collections: Vec<String>Collection membership (e.g. ["project-A", "reading-list"]).
Additive optional field. Set via doiget tag --collection (#294).
annotation: Option<String>Freeform agent annotation note for this paper.
Additive optional field. Set via doiget annotate (#294).
repaired_fields: BTreeMap<String, String>Fields whose resolver value carried a U+FFFD and was replaced by
another source’s matching value: field name → source key (#608),
e.g. repaired_fields = { title = "semantic_scholar" }. Additive.
short_venue: Option<String>The venue’s abbreviation as the resolver reported it – Crossref’s
short-container-title, e.g. Phys. Rev. B (#611). Rendered as
biblatex shortjournal / CSL container-title-short on request.
Absent when the record carries none; never guessed. Additive.
origin: Option<String>Where the PDF came from when doiget did not fetch it:
"user-supplied" for a file added with doiget add (#606). A stored
PDF is otherwise one doiget fetched from an OA or entitled source; a
user-supplied one carries no licence claim (license = "unknown")
and must not be read as free to use. Absent for fetched entries.
Trait Implementations§
Source§impl Clone for DoigetExtension
impl Clone for DoigetExtension
Source§fn clone(&self) -> DoigetExtension
fn clone(&self) -> DoigetExtension
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more