pub enum SubjectType {
Bic,
Bisac,
Thema,
Lcc,
Custom,
Keyword,
}
Variants§
Trait Implementations§
Source§impl Clone for SubjectType
impl Clone for SubjectType
Source§fn clone(&self) -> SubjectType
fn clone(&self) -> SubjectType
Returns a duplicate of the value. Read more
1.0.0 · 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 SubjectType
impl Debug for SubjectType
Source§impl Default for SubjectType
impl Default for SubjectType
Source§fn default() -> SubjectType
fn default() -> SubjectType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubjectType
impl<'de> Deserialize<'de> for SubjectType
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
Source§impl Display for SubjectType
impl Display for SubjectType
Source§impl FromStr for SubjectType
impl FromStr for SubjectType
Source§type Err = ThothError
type Err = ThothError
The associated error which can be returned from parsing.
Source§fn from_str(input: &str) -> Result<SubjectType, ThothError>
fn from_str(input: &str) -> Result<SubjectType, ThothError>
Parses a string
s
to return a value of this type. Read moreSource§impl PartialEq for SubjectType
impl PartialEq for SubjectType
Source§impl Serialize for SubjectType
impl Serialize for SubjectType
impl StructuralPartialEq for SubjectType
Auto Trait Implementations§
impl Freeze for SubjectType
impl RefUnwindSafe for SubjectType
impl Send for SubjectType
impl Sync for SubjectType
impl Unpin for SubjectType
impl UnwindSafe for SubjectType
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