pub enum Type {
Show 30 variants
BookSection,
Monograph,
ReportComponent,
Report,
PeerReview,
BookTrack,
JournalArticle,
BookPart,
Other,
Book,
JournalVolume,
BookSet,
ReferenceEntry,
ProceedingsArticle,
Journal,
Component,
BookChapter,
ProceedingsSeries,
ReportSeries,
Proceedings,
Database,
Standard,
ReferenceBook,
PostedContent,
JournalIssue,
Dissertation,
Grant,
Dataset,
BookSeries,
EditedBook,
}Expand description
One of the work types crossref registers, as listed by /types.
assert_eq!(Type::JournalArticle, Type::from_str("journal-article").unwrap());
assert_eq!("Journal Article", Type::JournalArticle.label());Variants§
BookSection
book-section, which crossref labels Book Section
Monograph
monograph, which crossref labels Monograph
ReportComponent
report-component, which crossref labels Report Component
Report
report, which crossref labels Report
PeerReview
peer-review, which crossref labels Peer Review
BookTrack
book-track, which crossref labels Book Track
JournalArticle
journal-article, which crossref labels Journal Article
BookPart
book-part, which crossref labels Part
Other
other, which crossref labels Other
Book
book, which crossref labels Book
JournalVolume
journal-volume, which crossref labels Journal Volume
BookSet
book-set, which crossref labels Book Set
ReferenceEntry
reference-entry, which crossref labels Reference Entry
ProceedingsArticle
proceedings-article, which crossref labels Proceedings Article
Journal
journal, which crossref labels Journal
Component
component, which crossref labels Component
BookChapter
book-chapter, which crossref labels Book Chapter
ProceedingsSeries
proceedings-series, which crossref labels Proceedings Series
ReportSeries
report-series, which crossref labels Report Series
Proceedings
proceedings, which crossref labels Proceedings
Database
database, which crossref labels Database
Standard
standard, which crossref labels Standard
ReferenceBook
reference-book, which crossref labels Reference Book
PostedContent
posted-content, which crossref labels Posted Content
JournalIssue
journal-issue, which crossref labels Journal Issue
Dissertation
dissertation, which crossref labels Dissertation
Grant
grant, which crossref labels Grant
Dataset
dataset, which crossref labels Dataset
BookSeries
book-series, which crossref labels Book Series
EditedBook
edited-book, which crossref labels Edited Book
Implementations§
Trait Implementations§
impl Copy for Type
Source§impl<'de> Deserialize<'de> for Type
impl<'de> Deserialize<'de> for Type
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>,
impl Eq for Type
Source§impl From<Type> for CrossrefType
impl From<Type> for CrossrefType
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnsafeUnpin for Type
impl UnwindSafe for Type
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
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
key and return true if they are equal.