pub enum ReviewAction {
Approved,
Qualified {
target: String,
},
Corrected {
field: String,
original: String,
corrected: String,
},
Flagged {
flag_type: String,
},
Disputed {
counter_evidence: String,
counter_doi: Option<String>,
},
}Expand description
The action taken in a review event.
Variants§
Approved
Finding approved as correct.
Qualified
Finding interpretation was qualified to narrow or constrain the claim.
Corrected
Finding corrected — a specific field was changed.
Flagged
Finding flagged with a specific flag type.
Disputed
Finding disputed — reviewer disagrees with the claim.
Trait Implementations§
Source§impl Clone for ReviewAction
impl Clone for ReviewAction
Source§fn clone(&self) -> ReviewAction
fn clone(&self) -> ReviewAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReviewAction
impl Debug for ReviewAction
Source§impl<'de> Deserialize<'de> for ReviewAction
impl<'de> Deserialize<'de> for ReviewAction
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 Freeze for ReviewAction
impl RefUnwindSafe for ReviewAction
impl Send for ReviewAction
impl Sync for ReviewAction
impl Unpin for ReviewAction
impl UnsafeUnpin for ReviewAction
impl UnwindSafe for ReviewAction
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