pub struct NameMeta {
pub orcid: Option<Url>,
pub address: Option<String>,
pub alias: Option<String>,
pub city: Option<String>,
pub country: Option<String>,
pub email: Option<String>,
pub post_code: Option<String>,
pub region: Option<String>,
pub location: Option<String>,
pub tel: Option<String>,
pub fax: Option<String>,
pub website: Option<Url>,
}Expand description
Fields common to both types of names (persons and entities).
Fields§
§orcid: Option<Url>ORCID identifier.
address: Option<String>Physical or postal address.
alias: Option<String>Alias or pseudonym.
city: Option<String>City.
country: Option<String>Country.
email: Option<String>Email address.
post_code: Option<String>Post code.
region: Option<String>Region.
location: Option<String>Location.
tel: Option<String>Telephone number.
fax: Option<String>Fax number.
website: Option<Url>Website.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NameMeta
impl<'de> Deserialize<'de> for NameMeta
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 NameMeta
impl StructuralPartialEq for NameMeta
Auto Trait Implementations§
impl Freeze for NameMeta
impl RefUnwindSafe for NameMeta
impl Send for NameMeta
impl Sync for NameMeta
impl Unpin for NameMeta
impl UnwindSafe for NameMeta
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,
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.