pub struct SerializedToolCall {
pub id: String,
pub name: String,
pub arguments: Value,
pub thought_signature: Option<String>,
}Expand description
A serialized tool call stored within an AssistantTurn entry.
Fields§
§id: String§name: String§arguments: Value§thought_signature: Option<String>Opaque provider token that must be replayed with this call
(Gemini’s thought_signature). Persisted so it survives a restart.
Trait Implementations§
Source§impl Clone for SerializedToolCall
impl Clone for SerializedToolCall
Source§fn clone(&self) -> SerializedToolCall
fn clone(&self) -> SerializedToolCall
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 SerializedToolCall
impl Debug for SerializedToolCall
Source§impl<'de> Deserialize<'de> for SerializedToolCall
impl<'de> Deserialize<'de> for SerializedToolCall
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 SerializedToolCall
impl PartialEq for SerializedToolCall
Source§impl Serialize for SerializedToolCall
impl Serialize for SerializedToolCall
impl StructuralPartialEq for SerializedToolCall
Auto Trait Implementations§
impl Freeze for SerializedToolCall
impl RefUnwindSafe for SerializedToolCall
impl Send for SerializedToolCall
impl Sync for SerializedToolCall
impl Unpin for SerializedToolCall
impl UnsafeUnpin for SerializedToolCall
impl UnwindSafe for SerializedToolCall
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