pub struct QuestionAnswer {
pub tool_call_id: String,
pub answer: String,
}Expand description
Durable answer for one pending question, applied through the
AnswerQuestion control RPC.
A single RPC call answers every question the task parked on in
one shot; each entry resolves exactly one ask_user tool call. The
batch-level idempotency key / receipt lives on the task state
(receipt_id), not on the per-question entry.
Fields§
§tool_call_id: StringTool-use id of the ask_user call this answer resolves.
answer: StringFree-form text or the selected option labels.
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<'de> Deserialize<'de> for QuestionAnswer
impl<'de> Deserialize<'de> for QuestionAnswer
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
impl Eq for QuestionAnswer
Source§impl PartialEq for QuestionAnswer
impl PartialEq for QuestionAnswer
Source§impl Serialize for QuestionAnswer
impl Serialize 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