pub struct ContextCheckpointDecisionV1 {
pub decision_id: DecisionId,
pub statement: ContextCheckpointTextV1,
pub rationale: ContextCheckpointTextV1,
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: ContextCheckpointTextV1Bounded statement of what was decided.
rationale: ContextCheckpointTextV1Bounded rationale for the decision.
status: ContextCheckpointDecisionStatusV1Current status of the decision.
evidence_refs: Vec<ProtocolReference>Evidence supporting the decision, sorted and unique.
Implementations§
Source§impl ContextCheckpointDecisionV1
impl ContextCheckpointDecisionV1
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Validate the decision identity, bounds, and reference ordering.
Trait Implementations§
Source§impl Clone for ContextCheckpointDecisionV1
impl Clone for ContextCheckpointDecisionV1
Source§impl Debug for ContextCheckpointDecisionV1
impl Debug for ContextCheckpointDecisionV1
Source§impl<'de> Deserialize<'de> for ContextCheckpointDecisionV1
impl<'de> Deserialize<'de> for ContextCheckpointDecisionV1
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 ContextCheckpointDecisionV1
impl StructuralPartialEq for ContextCheckpointDecisionV1
Auto Trait Implementations§
impl Forget for ContextCheckpointDecisionV1
impl Freeze for ContextCheckpointDecisionV1
impl Move for ContextCheckpointDecisionV1
impl RefUnwindSafe for ContextCheckpointDecisionV1
impl Send for ContextCheckpointDecisionV1
impl Sync for ContextCheckpointDecisionV1
impl Unpin for ContextCheckpointDecisionV1
impl UnsafeUnpin for ContextCheckpointDecisionV1
impl UnwindSafe for ContextCheckpointDecisionV1
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