pub struct CrossrefType {
pub id: String,
pub label: String,
}Expand description
one of the work types crossref registers, as returned by /types
Fields§
§id: Stringthe identifier, e.g. journal-article
label: Stringa display-friendly form of id, e.g. Journal Article
Trait Implementations§
Source§impl Clone for CrossrefType
impl Clone for CrossrefType
Source§impl Debug for CrossrefType
impl Debug for CrossrefType
Source§impl<'de> Deserialize<'de> for CrossrefType
impl<'de> Deserialize<'de> for CrossrefType
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 From<Type> for CrossrefType
impl From<Type> for CrossrefType
Auto Trait Implementations§
impl Freeze for CrossrefType
impl RefUnwindSafe for CrossrefType
impl Send for CrossrefType
impl Sync for CrossrefType
impl Unpin for CrossrefType
impl UnsafeUnpin for CrossrefType
impl UnwindSafe for CrossrefType
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