pub struct RecordMetadata {Show 45 fields
pub title: String,
pub publication_date: Option<NaiveDate>,
pub description_html: Option<String>,
pub creators: Vec<Creator>,
pub contributors: Vec<Contributor>,
pub keywords: Vec<String>,
pub references: Vec<String>,
pub communities: Vec<CommunityRef>,
pub grants: Vec<GrantRef>,
pub subjects: Vec<Subject>,
pub identifiers: Vec<RecordIdentifier>,
pub alternate_identifiers: Vec<RecordIdentifier>,
pub dates: Vec<RecordDate>,
pub related_identifiers: Vec<RelatedIdentifier>,
pub resource_type: Option<ResourceType>,
pub access_right: Option<AccessRight>,
pub access_conditions: Option<String>,
pub embargo_date: Option<NaiveDate>,
pub license: Option<LicenseRef>,
pub publisher: Option<String>,
pub language: Option<String>,
pub sizes: Vec<String>,
pub formats: Vec<String>,
pub notes: Option<String>,
pub version: Option<String>,
pub journal_title: Option<String>,
pub journal_volume: Option<String>,
pub journal_issue: Option<String>,
pub journal_pages: Option<String>,
pub conference_title: Option<String>,
pub conference_acronym: Option<String>,
pub conference_dates: Option<String>,
pub conference_place: Option<String>,
pub conference_url: Option<Url>,
pub conference_session: Option<String>,
pub conference_session_part: Option<String>,
pub imprint_publisher: Option<String>,
pub imprint_isbn: Option<String>,
pub imprint_place: Option<String>,
pub partof_title: Option<String>,
pub partof_pages: Option<String>,
pub thesis_supervisors: Vec<Creator>,
pub thesis_university: Option<String>,
pub relations: Option<RecordRelations>,
pub extra: BTreeMap<String, Value>,
}Expand description
Typed metadata returned on published records.
Fields§
§title: StringRecord title.
publication_date: Option<NaiveDate>Publication date, when present.
description_html: Option<String>HTML description body, when present.
creators: Vec<Creator>Creator list.
contributors: Vec<Contributor>Contributor list.
keywords: Vec<String>Free-form keywords.
references: Vec<String>Free-form reference strings.
communities: Vec<CommunityRef>Community references attached to the record.
grants: Vec<GrantRef>Grant references attached to the record.
subjects: Vec<Subject>Subject classifications attached to the record.
identifiers: Vec<RecordIdentifier>Additional identifier entries.
alternate_identifiers: Vec<RecordIdentifier>Alternate identifier entries.
dates: Vec<RecordDate>Additional date entries.
Related identifier entries.
resource_type: Option<ResourceType>Resource type details, when present.
access_right: Option<AccessRight>Access-right details, when present.
access_conditions: Option<String>Access conditions for restricted records, when present.
embargo_date: Option<NaiveDate>Embargo date for embargoed records, when present.
license: Option<LicenseRef>License details, when present.
publisher: Option<String>Publisher string, when present.
language: Option<String>Primary language string, when present.
sizes: Vec<String>Size labels attached to the record.
formats: Vec<String>Format labels attached to the record.
notes: Option<String>Free-form notes field, when present.
version: Option<String>Version string, when present.
journal_title: Option<String>Journal title, when present.
journal_volume: Option<String>Journal volume, when present.
journal_issue: Option<String>Journal issue, when present.
journal_pages: Option<String>Journal pages, when present.
conference_title: Option<String>Conference title, when present.
conference_acronym: Option<String>Conference acronym, when present.
conference_dates: Option<String>Conference dates, when present.
conference_place: Option<String>Conference place, when present.
conference_url: Option<Url>Conference URL, when present.
conference_session: Option<String>Conference session, when present.
conference_session_part: Option<String>Conference session part, when present.
imprint_publisher: Option<String>Imprint publisher, when present.
imprint_isbn: Option<String>Imprint ISBN, when present.
imprint_place: Option<String>Imprint place, when present.
partof_title: Option<String>Container title for book chapters, when present.
partof_pages: Option<String>Container page range for book chapters, when present.
thesis_supervisors: Vec<Creator>Thesis supervisors, when present.
thesis_university: Option<String>Awarding university for a thesis, when present.
relations: Option<RecordRelations>Relation blocks reported on the record, when present.
extra: BTreeMap<String, Value>Additional untyped fields preserved for forward compatibility.
Trait Implementations§
Source§impl Clone for RecordMetadata
impl Clone for RecordMetadata
Source§fn clone(&self) -> RecordMetadata
fn clone(&self) -> RecordMetadata
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RecordMetadata
impl Debug for RecordMetadata
Source§impl Default for RecordMetadata
impl Default for RecordMetadata
Source§fn default() -> RecordMetadata
fn default() -> RecordMetadata
Source§impl<'de> Deserialize<'de> for RecordMetadata
impl<'de> Deserialize<'de> for RecordMetadata
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>,
Source§impl PartialEq for RecordMetadata
impl PartialEq for RecordMetadata
Source§fn eq(&self, other: &RecordMetadata) -> bool
fn eq(&self, other: &RecordMetadata) -> bool
self and other values to be equal, and is used by ==.