pub struct PendingToolCall {
pub call_id: String,
pub tool_name: String,
pub args: Value,
pub replay: Option<ProviderReplayMeta>,
}Fields§
§call_id: String§tool_name: String§args: Value§replay: Option<ProviderReplayMeta>Opaque provider replay state carried through for the next request.
Trait Implementations§
Source§impl Clone for PendingToolCall
impl Clone for PendingToolCall
Source§fn clone(&self) -> PendingToolCall
fn clone(&self) -> PendingToolCall
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 PendingToolCall
impl Debug for PendingToolCall
Source§impl<'de> Deserialize<'de> for PendingToolCall
impl<'de> Deserialize<'de> for PendingToolCall
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PendingToolCall, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PendingToolCall, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PendingToolCall
impl Serialize for PendingToolCall
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for PendingToolCall
impl RefUnwindSafe for PendingToolCall
impl Send for PendingToolCall
impl Sync for PendingToolCall
impl Unpin for PendingToolCall
impl UnsafeUnpin for PendingToolCall
impl UnwindSafe for PendingToolCall
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