pub struct Affiliation {
pub name: Option<String>,
pub id: Vec<InstitutionId>,
}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.
an institution a contributor is affiliated with
Fields§
§name: Option<String>the affiliation’s name
Members occasionally deposit a bare {} affiliation.
id: Vec<InstitutionId>identifiers for the institution, in practice ROR ids
How crossref now models affiliations; select works that carry one with
WorksFilter::HasAffiliationRorId.
Trait Implementations§
Source§impl Clone for Affiliation
impl Clone for Affiliation
Source§impl Debug for Affiliation
impl Debug for Affiliation
Source§impl<'de> Deserialize<'de> for Affiliation
impl<'de> Deserialize<'de> for Affiliation
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 Affiliation
Source§impl PartialEq for Affiliation
impl PartialEq for Affiliation
Source§impl Serialize for Affiliation
impl Serialize for Affiliation
impl StructuralPartialEq for Affiliation
Auto Trait Implementations§
impl Freeze for Affiliation
impl RefUnwindSafe for Affiliation
impl Send for Affiliation
impl Sync for Affiliation
impl Unpin for Affiliation
impl UnsafeUnpin for Affiliation
impl UnwindSafe for Affiliation
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.