#[non_exhaustive]pub enum ContributorRole {
Show 21 variants
Author,
Chair,
Editor,
Translator,
Director,
Publisher,
Recipient,
Interviewer,
Interviewee,
Guest,
Inventor,
Counsel,
Composer,
CollectionEditor,
ContainerAuthor,
EditorialDirector,
TextualEditor,
Illustrator,
OriginalAuthor,
ReviewedAuthor,
Unknown(String),
}Expand description
Contributor roles.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Author
Chair
Editor
Translator
Director
Publisher
Recipient
Interviewer
Interviewee
Guest
Inventor
Counsel
Composer
CollectionEditor
ContainerAuthor
EditorialDirector
TextualEditor
Illustrator
OriginalAuthor
ReviewedAuthor
Unknown(String)
Fallback for forward-compatibility.
Implementations§
Trait Implementations§
Source§impl Clone for ContributorRole
impl Clone for ContributorRole
Source§fn clone(&self) -> ContributorRole
fn clone(&self) -> ContributorRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContributorRole
impl Debug for ContributorRole
Source§impl Default for ContributorRole
impl Default for ContributorRole
Source§fn default() -> ContributorRole
fn default() -> ContributorRole
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContributorRole
impl<'de> Deserialize<'de> for ContributorRole
Source§fn deserialize<D>(
deserializer: D,
) -> Result<ContributorRole, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<ContributorRole, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ContributorRole
Source§impl Hash for ContributorRole
impl Hash for ContributorRole
Source§impl PartialEq for ContributorRole
impl PartialEq for ContributorRole
Source§fn eq(&self, other: &ContributorRole) -> bool
fn eq(&self, other: &ContributorRole) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContributorRole
impl Serialize for ContributorRole
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ContributorRole
Auto Trait Implementations§
impl Freeze for ContributorRole
impl RefUnwindSafe for ContributorRole
impl Send for ContributorRole
impl Sync for ContributorRole
impl Unpin for ContributorRole
impl UnsafeUnpin for ContributorRole
impl UnwindSafe for ContributorRole
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.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.