pub enum GateOutcome {
Pass,
Fail {
reason: String,
},
HumanApprove {
note: String,
},
}Expand description
Outcome reported by a verifier/reviewer/human for a gate evaluation.
Variants§
Trait Implementations§
Source§impl Clone for GateOutcome
impl Clone for GateOutcome
Source§fn clone(&self) -> GateOutcome
fn clone(&self) -> GateOutcome
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 GateOutcome
impl Debug for GateOutcome
Source§impl<'de> Deserialize<'de> for GateOutcome
impl<'de> Deserialize<'de> for GateOutcome
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 GateOutcome
Source§impl PartialEq for GateOutcome
impl PartialEq for GateOutcome
Source§impl Serialize for GateOutcome
impl Serialize for GateOutcome
impl StructuralPartialEq for GateOutcome
Auto Trait Implementations§
impl Freeze for GateOutcome
impl RefUnwindSafe for GateOutcome
impl Send for GateOutcome
impl Sync for GateOutcome
impl Unpin for GateOutcome
impl UnsafeUnpin for GateOutcome
impl UnwindSafe for GateOutcome
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