#[non_exhaustive]pub enum UpdateKind {
Retraction,
Withdrawal,
ExpressionOfConcern,
Correction,
NewVersion,
Other(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Retraction
Withdrawal
ExpressionOfConcern
Correction
NewVersion
A newer version or edition supersedes the work (Cochrane’s
.pub7 after .pub6), or a preprint’s published version; the
update’s notice is the newer work.
Other(String)
Implementations§
Trait Implementations§
Source§impl Clone for UpdateKind
impl Clone for UpdateKind
Source§impl Debug for UpdateKind
impl Debug for UpdateKind
Source§impl<'de> Deserialize<'de> for UpdateKind
impl<'de> Deserialize<'de> for UpdateKind
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UpdateKind
Source§impl Hash for UpdateKind
impl Hash for UpdateKind
Source§impl PartialEq for UpdateKind
impl PartialEq for UpdateKind
Source§impl Serialize for UpdateKind
impl Serialize for UpdateKind
impl StructuralPartialEq for UpdateKind
Auto Trait Implementations§
impl Forget for UpdateKind
impl Freeze for UpdateKind
impl RefUnwindSafe for UpdateKind
impl Send for UpdateKind
impl Sync for UpdateKind
impl Unpin for UpdateKind
impl UnsafeUnpin for UpdateKind
impl UnwindSafe for UpdateKind
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