pub struct Provenance {
pub source_type: String,
pub doi: Option<String>,
pub url: Option<String>,
pub title: String,
pub authors: Vec<Author>,
pub year: Option<i32>,
pub license: Option<String>,
pub publisher: Option<String>,
pub funders: Vec<String>,
pub extraction: Extraction,
pub review: Option<Review>,
pub contributions: Vec<Contribution>,
}Fields§
§source_type: String§doi: Option<String>§url: Option<String>v0.11: generic source URL when none of the structured identifiers fit (preprint server URL, dataset landing page, talk recording, etc.). Skipped when None so pre-v0.11 frontiers serialise byte-identically.
title: String§year: Option<i32>§license: Option<String>License URL (e.g., Creative Commons), typically from Crossref.
publisher: Option<String>Publisher name, typically from Crossref.
funders: Vec<String>Funding sources, typically from Crossref.
extraction: Extraction§review: Option<Review>§contributions: Vec<Contribution>Claim-granularity attribution: which actor originated / derived /
formalized which unit of this finding. Descriptive provenance, distinct
from extraction (who extracted the whole bundle) and authors (the
source paper’s humans). Skipped when empty so pre-existing bundles
serialise byte-identically, and outside the vf_ id preimage.
Trait Implementations§
Source§impl Clone for Provenance
impl Clone for Provenance
Source§fn clone(&self) -> Provenance
fn clone(&self) -> Provenance
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 Provenance
impl Debug for Provenance
Source§impl<'de> Deserialize<'de> for Provenance
impl<'de> Deserialize<'de> for Provenance
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
Auto Trait Implementations§
impl Freeze for Provenance
impl RefUnwindSafe for Provenance
impl Send for Provenance
impl Sync for Provenance
impl Unpin for Provenance
impl UnsafeUnpin for Provenance
impl UnwindSafe for Provenance
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