pub enum QuestionReply {
Answered(Vec<QuestionAnswer>),
Dismissed,
Discuss {
message: Option<String>,
},
}Expand description
What the user did with a TurnPauseReason::Question pause.
Variants§
Answered(Vec<QuestionAnswer>)
One entry per question, in question order. An entry with nothing selected and no note leaves that question unanswered.
Dismissed
The prompt was closed without answers.
Discuss
The user wants to talk before choosing. message carries their words
when the client collected any; absent, the model is expected to ask
what they want to clarify.
Trait Implementations§
Source§impl Clone for QuestionReply
impl Clone for QuestionReply
Source§impl Debug for QuestionReply
impl Debug for QuestionReply
Source§impl<'de> Deserialize<'de> for QuestionReply
impl<'de> Deserialize<'de> for QuestionReply
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
Source§impl PartialEq for QuestionReply
impl PartialEq for QuestionReply
Source§impl Serialize for QuestionReply
impl Serialize for QuestionReply
impl StructuralPartialEq for QuestionReply
Auto Trait Implementations§
impl Freeze for QuestionReply
impl RefUnwindSafe for QuestionReply
impl Send for QuestionReply
impl Sync for QuestionReply
impl Unpin for QuestionReply
impl UnsafeUnpin for QuestionReply
impl UnwindSafe for QuestionReply
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