pub struct DecisionTicketDraft {
pub id: DecisionTicketId,
pub definition: String,
pub decision_maker: EntityRef,
pub assigned_controller: String,
pub summary: String,
pub context: DecisionContext,
pub options: Vec<DecisionOption>,
pub deadline: Option<SimTime>,
pub parent_ticket: Option<DecisionTicketId>,
}Fields§
§id: DecisionTicketId§definition: String§decision_maker: EntityRef§assigned_controller: String§summary: String§context: DecisionContext§options: Vec<DecisionOption>§deadline: Option<SimTime>§parent_ticket: Option<DecisionTicketId>Earlier ticket this decision follows up. At admission the parent must
be a terminal ticket in hot decision history, and either have exactly
the same decision_maker or be a seat succession: the parent’s and
this ticket’s assigned controllers are both bound to the same
DecisionControllerBinding::seat_id. A successor holder therefore
registers a new controller bound to the seat and links its ticket to
the previous holder’s cancelled one. Controller bindings are immutable
and never removed, so the rule reads the parent’s binding directly and
snapshot validation re-checks it. Seat IDs are host content declared
when a controller is registered; the engine does not tie them to the
run’s seat binding. An archived or absent parent is rejected as
TicketNotFound.
Trait Implementations§
Source§impl Clone for DecisionTicketDraft
impl Clone for DecisionTicketDraft
Source§fn clone(&self) -> DecisionTicketDraft
fn clone(&self) -> DecisionTicketDraft
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more