pub struct ToolCallDecision {
pub target_id: String,
pub resume: ToolCallResume,
}Expand description
External decision command routed to a suspended tool call.
target_id may refer to:
- suspended
call_id - suspension id
- pending external tool-call id
The resume payload (decision_id, action, result, reason, updated_at) is
shared with ToolCallResume via #[serde(flatten)].
Fields§
§target_id: StringExternal target identifier used to resolve suspended call.
resume: ToolCallResumeResume payload shared with ToolCallResume.
Implementations§
Trait Implementations§
Source§impl Clone for ToolCallDecision
impl Clone for ToolCallDecision
Source§fn clone(&self) -> ToolCallDecision
fn clone(&self) -> ToolCallDecision
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 ToolCallDecision
impl Debug for ToolCallDecision
Source§impl<'de> Deserialize<'de> for ToolCallDecision
impl<'de> Deserialize<'de> for ToolCallDecision
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 ToolCallDecision
impl PartialEq for ToolCallDecision
Source§impl Serialize for ToolCallDecision
impl Serialize for ToolCallDecision
impl StructuralPartialEq for ToolCallDecision
Auto Trait Implementations§
impl Freeze for ToolCallDecision
impl RefUnwindSafe for ToolCallDecision
impl Send for ToolCallDecision
impl Sync for ToolCallDecision
impl Unpin for ToolCallDecision
impl UnwindSafe for ToolCallDecision
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