pub struct PendingAsk {
pub tool_call_id: String,
pub tool_name: String,
pub question: String,
pub options: Vec<String>,
pub allow_custom: bool,
}Expand description
The pause-worthy subset of AgentEvent::NeedClarification’s fields,
decoupled from the wire event so connect::approvals doesn’t need to
match on AgentEvent itself.
Fields§
§tool_call_id: String§tool_name: String§question: String§options: Vec<String>§allow_custom: boolTrait Implementations§
Source§impl Clone for PendingAsk
impl Clone for PendingAsk
Source§fn clone(&self) -> PendingAsk
fn clone(&self) -> PendingAsk
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 moreAuto Trait Implementations§
impl Freeze for PendingAsk
impl RefUnwindSafe for PendingAsk
impl Send for PendingAsk
impl Sync for PendingAsk
impl Unpin for PendingAsk
impl UnsafeUnpin for PendingAsk
impl UnwindSafe for PendingAsk
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