pub struct Metadata {
pub id: Vec<Identifier>,
pub title: Option<String>,
pub author: Vec<Entity>,
pub editor: Vec<Entity>,
pub published: Option<PartialDate>,
pub venue: Option<Entity>,
pub volume: Option<String>,
pub issue: Option<String>,
pub page: Option<String>,
pub type_: Option<String>,
pub publisher: Option<Entity>,
}Expand description
A bibliographic record, as OpenCitations Meta holds it.
Fields§
§id: Vec<Identifier>every identifier this work is known by
title: Option<String>the title, absent where Meta holds none
the authors, in the order they are credited
editor: Vec<Entity>the editors, in the order they are credited
published: Option<PartialDate>when it was published, to whatever precision is recorded
venue: Option<Entity>the journal, book or proceedings it appeared in
volume: Option<String>the volume within the venue
issue: Option<String>the issue within the volume
page: Option<String>the page or page range, e.g. 104855 or 31-40
type_: Option<String>what kind of work it is, e.g. journal article
publisher: Option<Entity>who published it
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Metadata
impl<'de> Deserialize<'de> for Metadata
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
impl Eq for Metadata
impl StructuralPartialEq for Metadata
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnsafeUnpin for Metadata
impl UnwindSafe for Metadata
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.