#[non_exhaustive]pub struct Update {
pub kind: UpdateKind,
pub notice: Option<WorkId>,
pub date: Option<PartialDate>,
pub source: Option<String>,
}Expand description
An editorial notice about a work: retraction, correction, expression of concern, withdrawal.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: UpdateKind§notice: Option<WorkId>The notice’s own identifier (usually a DOI), if known.
date: Option<PartialDate>§source: Option<String>Who reported it: “retraction-watch”, “publisher”, “openalex”, ….
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Update
impl<'de> Deserialize<'de> for Update
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
impl Eq for Update
impl StructuralPartialEq for Update
Auto Trait Implementations§
impl Forget for Update
impl Freeze for Update
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnsafeUnpin for Update
impl UnwindSafe for Update
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