pub enum QuestionAnswer {
Selected(Vec<String>),
FreeText(String),
NoHuman,
}Expand description
A human’s answer to an ask_user question (tier-1 gap #4). Lives here
(not hotl-engine, where the plan first sketched it) so both hotl-tools’s
QuestionSink and hotl-engine’s EngineEvent::Question can share one
definition without either crate depending on the other — the same
cycle-avoidance the plan flagged as open, resolved the way Question
itself already is. NoHuman is the documented default when no reply
arrives (headless, DontAsk, a dropped reply channel): the model must
always get an answer, never a hang.
Variants§
Trait Implementations§
Source§impl Clone for QuestionAnswer
impl Clone for QuestionAnswer
Source§fn clone(&self) -> QuestionAnswer
fn clone(&self) -> QuestionAnswer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QuestionAnswer
impl Debug for QuestionAnswer
Source§impl PartialEq for QuestionAnswer
impl PartialEq for QuestionAnswer
impl StructuralPartialEq for QuestionAnswer
Auto Trait Implementations§
impl Freeze for QuestionAnswer
impl RefUnwindSafe for QuestionAnswer
impl Send for QuestionAnswer
impl Sync for QuestionAnswer
impl Unpin for QuestionAnswer
impl UnsafeUnpin for QuestionAnswer
impl UnwindSafe for QuestionAnswer
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