pub enum ResultKind {
Table,
Verdict,
}Expand description
Which shape a case’s expected compares against — additive so every existing (all-Table)
golden stays byte-compatible: an omitted result_kind defaults to Table, the pre-existing
behavior. Verdict is the +Assertive twin: the agent’s final message is a {blocks, verdict, emitted, verified} envelope (see dispatcher/claude-code-cli’s assertion output contract), not
a {columns, rows} table, and one of its fields is projected down to expected’s scalar shape
before the usual comparator runs — see project_verdict_field.
Variants§
Trait Implementations§
Source§impl Clone for ResultKind
impl Clone for ResultKind
Source§fn clone(&self) -> ResultKind
fn clone(&self) -> ResultKind
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 moreimpl Copy for ResultKind
Source§impl Debug for ResultKind
impl Debug for ResultKind
Source§impl Default for ResultKind
impl Default for ResultKind
Source§fn default() -> ResultKind
fn default() -> ResultKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResultKind
impl<'de> Deserialize<'de> for ResultKind
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 ResultKind
Source§impl PartialEq for ResultKind
impl PartialEq for ResultKind
impl StructuralPartialEq for ResultKind
Auto Trait Implementations§
impl Freeze for ResultKind
impl RefUnwindSafe for ResultKind
impl Send for ResultKind
impl Sync for ResultKind
impl Unpin for ResultKind
impl UnsafeUnpin for ResultKind
impl UnwindSafe for ResultKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.