pub struct PendingQuestion {
pub question_id: String,
pub role: Role,
pub text: String,
pub options: Vec<String>,
pub run_id: Option<String>,
pub feature_id: Option<String>,
pub milestone_id: Option<String>,
}Expand description
An open structured human question (ticket
structured-human-question-events), one entry of the pending-decision
projection folded from question.opened (see
MissionState::pending_questions). Carries the full context the
dashboard and Slack need to render the decision without a join: the ask,
its structured choices (empty = free text), and who/where it came from.
Unlike PendingGrantRequest this parks NOTHING — the run loop does not
gate on it; the question rides alongside the mission until the operator
answers (question.answered) or it stops being actionable
(question.cleared).
Fields§
§question_id: StringEngine-minted id (q-<n>, per-mission monotonic) — the handle every
answer path (REST/Slack/CLI) names.
role: RoleWho asked — worker in this pass.
text: StringThe question text (scrubbed + capped at write).
options: Vec<String>The structured choices offered (empty = free-text answer expected).
run_id: Option<String>The run whose report carried the ask (context ref).
feature_id: Option<String>Feature the asking run worked on (context ref).
milestone_id: Option<String>Milestone the asking run worked under (context ref; the clear-on-complete sweep keys on it).
Trait Implementations§
Source§impl Clone for PendingQuestion
impl Clone for PendingQuestion
Source§fn clone(&self) -> PendingQuestion
fn clone(&self) -> PendingQuestion
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more