#[repr(i32)]pub enum Verdict {
Unspecified = 0,
Sign = 1,
Hold = 2,
Reject = 3,
}Expand description
Reviewer verdict (weft#481). Opinion-only — orthogonal to StateStatus.
A HOLD/REJECT never changes task fate; RecordVerdict returns the SAME
state_id. Legacy positive signatures decode as UNSPECIFIED (treat as SIGN).
Variants§
Unspecified = 0
Sign = 1
positive (also reachable via existing SignState)
Hold = 2
“iterate on this change” — non-terminal opinion
Reject = 3
“this attempt declined; rethink the approach” — NOT abort, no status change
Implementations§
Source§impl Verdict
impl Verdict
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
impl Copy for Verdict
impl Eq for Verdict
Source§impl Ord for Verdict
impl Ord for Verdict
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Verdict
impl PartialOrd for Verdict
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin for Verdict
impl UnwindSafe for Verdict
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