pub enum ReviewStatus {
Live,
Archived {
approved: bool,
approval_weight: usize,
},
}Expand description
Whether a review is still accepting verdicts, or has been settled and had its bulk dropped.
Variants§
Live
Accepting verdicts; reviewers and verdicts are authoritative.
Archived
Settled: reviewers and verdicts have been dropped, and the
outcome they produced is recorded here instead. Distinguishable
from a review that never existed, which is the point — a reviewer
told “no such review” would go hunting for a typo.
Trait Implementations§
Source§impl Clone for ReviewStatus
impl Clone for ReviewStatus
Source§fn clone(&self) -> ReviewStatus
fn clone(&self) -> ReviewStatus
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 ReviewStatus
impl Debug for ReviewStatus
Source§impl Default for ReviewStatus
impl Default for ReviewStatus
Source§fn default() -> ReviewStatus
fn default() -> ReviewStatus
Returns the “default value” for a type. Read more
Source§impl PartialEq for ReviewStatus
impl PartialEq for ReviewStatus
Source§fn eq(&self, other: &ReviewStatus) -> bool
fn eq(&self, other: &ReviewStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ReviewStatus
impl Eq for ReviewStatus
impl StructuralPartialEq for ReviewStatus
Auto Trait Implementations§
impl Freeze for ReviewStatus
impl RefUnwindSafe for ReviewStatus
impl Send for ReviewStatus
impl Sync for ReviewStatus
impl Unpin for ReviewStatus
impl UnsafeUnpin for ReviewStatus
impl UnwindSafe for ReviewStatus
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