#[non_exhaustive]pub enum ReviewOutcome {
Approved,
Unresolved,
Escalated,
NoVerdict,
Stopped,
Unknown,
}Expand description
How a reviewed job’s review ended.
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.
Approved
A reviewer approved the work. The only approval.
Unresolved
The last round still had open blocking findings.
Escalated
The reviewer said the user must decide.
NoVerdict
No usable verdict: no reviewer, or it declined, failed, timed out, or stayed malformed.
Stopped
A builder turn did not complete, the job was cancelled, or the journal could not be written.
Unknown
An outcome this client does not know, from a newer server.
Trait Implementations§
Source§impl Clone for ReviewOutcome
impl Clone for ReviewOutcome
impl Copy for ReviewOutcome
Source§impl Debug for ReviewOutcome
impl Debug for ReviewOutcome
Source§impl<'de> Deserialize<'de> for ReviewOutcome
impl<'de> Deserialize<'de> for ReviewOutcome
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 ReviewOutcome
Source§impl Hash for ReviewOutcome
impl Hash for ReviewOutcome
Source§impl PartialEq for ReviewOutcome
impl PartialEq for ReviewOutcome
Source§impl Serialize for ReviewOutcome
impl Serialize for ReviewOutcome
impl StructuralPartialEq for ReviewOutcome
Auto Trait Implementations§
impl Freeze for ReviewOutcome
impl RefUnwindSafe for ReviewOutcome
impl Send for ReviewOutcome
impl Sync for ReviewOutcome
impl Unpin for ReviewOutcome
impl UnsafeUnpin for ReviewOutcome
impl UnwindSafe for ReviewOutcome
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