pub struct ConfirmationRequest {
pub tool_name: String,
pub description: String,
pub input_preview: String,
pub tier: String,
pub context: Option<String>,
}Expand description
Request for user confirmation of a tool execution.
Fields§
§tool_name: StringName of the tool requiring confirmation.
description: StringHuman-readable description of the action.
input_preview: StringPreview of the tool input (JSON formatted).
tier: StringThe tier of the tool (serialized as string).
context: Option<String>Agent’s recent reasoning text that led to this tool call.
Implementations§
Trait Implementations§
Source§impl Clone for ConfirmationRequest
impl Clone for ConfirmationRequest
Source§fn clone(&self) -> ConfirmationRequest
fn clone(&self) -> ConfirmationRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 ConfirmationRequest
impl Debug for ConfirmationRequest
Source§impl<'de> Deserialize<'de> for ConfirmationRequest
impl<'de> Deserialize<'de> for ConfirmationRequest
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
Auto Trait Implementations§
impl Freeze for ConfirmationRequest
impl RefUnwindSafe for ConfirmationRequest
impl Send for ConfirmationRequest
impl Sync for ConfirmationRequest
impl Unpin for ConfirmationRequest
impl UnwindSafe for ConfirmationRequest
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