pub enum PersonType {
Actor,
Director,
Writer,
Producer,
Creator,
Author,
Family,
Friends,
Singer,
Character,
Custom(String),
}Expand description
A person’s primary type. Plugins map provider labels to canonical variants. Unknown strings are preserved verbatim; no aliases or translations are applied.
Variants§
Actor
Director
Writer
Producer
Creator
Author
Family
Friends
Singer
Character
A fictional character, including anime and manga characters.
Custom(String)
Implementations§
Trait Implementations§
Source§impl Clone for PersonType
impl Clone for PersonType
Source§fn clone(&self) -> PersonType
fn clone(&self) -> PersonType
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 PersonType
impl Debug for PersonType
Source§impl<'de> Deserialize<'de> for PersonType
impl<'de> Deserialize<'de> for PersonType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PersonType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PersonType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PersonType
impl Display for PersonType
impl Eq for PersonType
Source§impl From<&str> for PersonType
impl From<&str> for PersonType
Source§fn from(value: &str) -> PersonType
fn from(value: &str) -> PersonType
Converts to this type from the input type.
Source§impl From<String> for PersonType
impl From<String> for PersonType
Source§fn from(value: String) -> PersonType
fn from(value: String) -> PersonType
Converts to this type from the input type.
Source§impl FromStr for PersonType
impl FromStr for PersonType
Source§impl Hash for PersonType
impl Hash for PersonType
Source§impl PartialEq for PersonType
impl PartialEq for PersonType
Source§impl Serialize for PersonType
impl Serialize for PersonType
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 PersonType
Auto Trait Implementations§
impl Forget for PersonType
impl Freeze for PersonType
impl Move for PersonType
impl RefUnwindSafe for PersonType
impl Send for PersonTypewhere
RawVecInner: Send,
impl Sync for PersonTypewhere
RawVecInner: Sync,
impl Unpin for PersonType
impl UnsafeUnpin for PersonType
impl UnwindSafe for PersonTypewhere
RawVecInner: UnwindSafe,
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.