pub struct ToolCallContext {
pub transaction_id: TransactionId,
pub session_key: SessionKey,
pub exchange_id: Option<ExchangeId>,
pub tool_action_id: ToolActionId,
pub tool_id: ToolId,
pub deadline: Instant,
}Expand description
Correlation context for a tool invocation (no prompts or secrets).
Fields§
§transaction_id: TransactionIdOwning transaction.
session_key: SessionKeySession key.
exchange_id: Option<ExchangeId>Exchange when known.
tool_action_id: ToolActionIdInternal tool action id.
tool_id: ToolIdTool id.
deadline: InstantAbsolute deadline.
Trait Implementations§
Source§impl Clone for ToolCallContext
impl Clone for ToolCallContext
Source§fn clone(&self) -> ToolCallContext
fn clone(&self) -> ToolCallContext
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 ToolCallContext
impl RefUnwindSafe for ToolCallContext
impl Send for ToolCallContext
impl Sync for ToolCallContext
impl Unpin for ToolCallContext
impl UnsafeUnpin for ToolCallContext
impl UnwindSafe for ToolCallContext
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