pub struct Contributor {
pub prefix: Option<String>,
pub suffix: Option<String>,
pub family: Option<String>,
pub given: Option<String>,
pub name: Option<String>,
pub orcid: Option<String>,
pub authenticated_orcid: Option<bool>,
pub affiliation: Vec<Affiliation>,
pub sequence: String,
}Expand description
The types that appear in the public fields of a Work, re-exported so a
caller of Crossref::works can name them without reaching into
response::work.
The types that appear in the public fields of a Work, re-exported so a
caller of Crossref::works can name them without reaching into
response::work.
The types that appear in the public fields of a Work, re-exported so a
caller of Crossref::works can name them without reaching into
response::work.
someone credited on the work: an author, editor, chair or translator
A contributor is either a person, with family and usually given, or an
organisation, with name. Members deposit both, so neither is guaranteed.
Fields§
§prefix: Option<String>an honorific before the name, e.g. Prof.
suffix: Option<String>a suffix after the name, e.g. Jr.
family: Option<String>the family name, for a person
given: Option<String>the given names, for a person
name: Option<String>the full name, for an organisation
orcid: Option<String>URL-form of an ORCID identifier
authenticated_orcid: Option<bool>If true, record owner asserts that the ORCID user completed ORCID OAuth authentication
affiliation: Vec<Affiliation>the institutions this contributor is affiliated with
sequence: Stringfirst for the first contributor listed, additional for the rest
Trait Implementations§
Source§impl Clone for Contributor
impl Clone for Contributor
Source§impl Debug for Contributor
impl Debug for Contributor
Source§impl<'de> Deserialize<'de> for Contributor
impl<'de> Deserialize<'de> for Contributor
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>,
impl Eq for Contributor
Source§impl PartialEq for Contributor
impl PartialEq for Contributor
Source§impl Serialize for Contributor
impl Serialize for Contributor
impl StructuralPartialEq for Contributor
Auto Trait Implementations§
impl Freeze for Contributor
impl RefUnwindSafe for Contributor
impl Send for Contributor
impl Sync for Contributor
impl Unpin for Contributor
impl UnsafeUnpin for Contributor
impl UnwindSafe for Contributor
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
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
key and return true if they are equal.