pub struct ContextCheckpointDecisionV2 {
pub decision_id: DecisionId,
pub statement: ContextCheckpointTextV2,
pub rationale: ContextCheckpointTextV2,
pub status: ContextCheckpointDecisionStatusV1,
pub evidence_refs: Vec<ProtocolReference>,
}Expand description
One decision taken while working the task.
Fields§
§decision_id: DecisionIdIdentity of the decision.
statement: ContextCheckpointTextV2Bounded statement of what was decided.
rationale: ContextCheckpointTextV2Bounded rationale for the decision.
status: ContextCheckpointDecisionStatusV1Current status of the decision.
evidence_refs: Vec<ProtocolReference>Evidence supporting the decision, sorted and unique.
Implementations§
Source§impl ContextCheckpointDecisionV2
impl ContextCheckpointDecisionV2
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Validate decision identity, bounds, and reference ordering.
Trait Implementations§
Source§impl Clone for ContextCheckpointDecisionV2
impl Clone for ContextCheckpointDecisionV2
Source§impl Debug for ContextCheckpointDecisionV2
impl Debug for ContextCheckpointDecisionV2
Source§impl<'de> Deserialize<'de> for ContextCheckpointDecisionV2
impl<'de> Deserialize<'de> for ContextCheckpointDecisionV2
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 ContextCheckpointDecisionV2
impl StructuralPartialEq for ContextCheckpointDecisionV2
Auto Trait Implementations§
impl Freeze for ContextCheckpointDecisionV2
impl RefUnwindSafe for ContextCheckpointDecisionV2
impl Send for ContextCheckpointDecisionV2
impl Sync for ContextCheckpointDecisionV2
impl Unpin for ContextCheckpointDecisionV2
impl UnsafeUnpin for ContextCheckpointDecisionV2
impl UnwindSafe for ContextCheckpointDecisionV2
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