pub struct RejectedJudgment {
pub signal_id: String,
pub change_anchor: String,
pub reason: String,
pub invalid_value: Option<String>,
}Expand description
One rejected judgment plus the reason it was rejected.
Fields§
§signal_id: StringThe signal_id the agent cited (fallow never emitted it). Empty when the
judgment cited a change_anchor instead.
change_anchor: StringThe change_anchor the agent cited (fallow never emitted it). Empty when
the judgment cited a signal_id instead.
reason: StringThe rejection reason: unanchored-signal-id (cited a signal fallow did
not emit), unknown-change-anchor (cited a region fallow did not emit),
stale-snapshot (the tree moved), or invalid-action (an action
outside JUDGMENT_ACTIONS; the anchor itself resolved).
invalid_value: Option<String>The offending value for an invalid-action rejection, echoed so the
agent can correct it in one round trip. Absent for the other reasons.
Trait Implementations§
Source§impl Clone for RejectedJudgment
impl Clone for RejectedJudgment
Source§impl Debug for RejectedJudgment
impl Debug for RejectedJudgment
Auto Trait Implementations§
impl Freeze for RejectedJudgment
impl RefUnwindSafe for RejectedJudgment
impl Send for RejectedJudgment
impl Sync for RejectedJudgment
impl Unpin for RejectedJudgment
impl UnsafeUnpin for RejectedJudgment
impl UnwindSafe for RejectedJudgment
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