pub struct AnswerQuestionsRequest {
pub answers: Vec<QuestionAnswer>,
pub attachments: Vec<TurnPromptAttachment>,
pub graph_question_target: Option<String>,
}Expand description
Structured input for resuming one session from clarification questions.
Fields§
§answers: Vec<QuestionAnswer>Ordered question and answer pairs for the current question set.
attachments: Vec<TurnPromptAttachment>Local images referenced by [Image #n] placeholders in answers,
delivered with the reply turn like prompt attachments. The caller
keeps the files when the request fails, so it can retry with them.
graph_question_target: Option<String>crate::Session::graph_question_target of the graph questions the
answers are for, as the snapshot the answers were entered on
reported it. None answers the questions of the session’s own turn.
The host refuses answers for graph work other than the one pending
now, even when it asks the same questions.
Trait Implementations§
Source§impl Clone for AnswerQuestionsRequest
impl Clone for AnswerQuestionsRequest
Source§impl Debug for AnswerQuestionsRequest
impl Debug for AnswerQuestionsRequest
impl Eq for AnswerQuestionsRequest
Source§impl PartialEq for AnswerQuestionsRequest
impl PartialEq for AnswerQuestionsRequest
impl StructuralPartialEq for AnswerQuestionsRequest
Auto Trait Implementations§
impl Forget for AnswerQuestionsRequest
impl Freeze for AnswerQuestionsRequest
impl Move for AnswerQuestionsRequest
impl RefUnwindSafe for AnswerQuestionsRequest
impl Send for AnswerQuestionsRequest
impl Sync for AnswerQuestionsRequest
impl Unpin for AnswerQuestionsRequest
impl UnsafeUnpin for AnswerQuestionsRequest
impl UnwindSafe for AnswerQuestionsRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.