pub struct CrossrefUpdate {
pub doi: Option<String>,
pub update_type: Option<String>,
pub source: Option<String>,
pub updated: Option<CslDate>,
}Expand description
One entry of Crossref’s updated-by (or update-to, where the DOI is
the updated work’s): a notice about the work, e.g.
{"DOI": "10.1016/…", "type": "retraction", "source": "retraction-watch", "updated": {"date-parts": [[2010, 2, 6]]}}. The
same shape appears in Crossref’s REST API and its CSL via doi.org.
Fields§
§doi: Option<String>§update_type: Option<String>§source: Option<String>§updated: Option<CslDate>Implementations§
Trait Implementations§
Source§impl Clone for CrossrefUpdate
impl Clone for CrossrefUpdate
Source§impl Debug for CrossrefUpdate
impl Debug for CrossrefUpdate
Source§impl Default for CrossrefUpdate
impl Default for CrossrefUpdate
Source§impl<'de> Deserialize<'de> for CrossrefUpdatewhere
CrossrefUpdate: Default,
impl<'de> Deserialize<'de> for CrossrefUpdatewhere
CrossrefUpdate: Default,
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
Auto Trait Implementations§
impl Forget for CrossrefUpdate
impl Freeze for CrossrefUpdate
impl RefUnwindSafe for CrossrefUpdate
impl Send for CrossrefUpdate
impl Sync for CrossrefUpdate
impl Unpin for CrossrefUpdate
impl UnsafeUnpin for CrossrefUpdate
impl UnwindSafe for CrossrefUpdate
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