pub struct ToolCallStateMap {
pub calls: HashMap<String, ToolCallState>,
}Expand description
Keyed collection of tool call states for the current step.
Fields§
§calls: HashMap<String, ToolCallState>Trait Implementations§
Source§impl Clone for ToolCallStateMap
impl Clone for ToolCallStateMap
Source§fn clone(&self) -> ToolCallStateMap
fn clone(&self) -> ToolCallStateMap
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 ToolCallStateMap
impl Debug for ToolCallStateMap
Source§impl Default for ToolCallStateMap
impl Default for ToolCallStateMap
Source§fn default() -> ToolCallStateMap
fn default() -> ToolCallStateMap
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolCallStateMap
impl<'de> Deserialize<'de> for ToolCallStateMap
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 ToolCallStateMap
impl PartialEq for ToolCallStateMap
Source§impl Serialize for ToolCallStateMap
impl Serialize for ToolCallStateMap
impl StructuralPartialEq for ToolCallStateMap
Auto Trait Implementations§
impl Freeze for ToolCallStateMap
impl RefUnwindSafe for ToolCallStateMap
impl Send for ToolCallStateMap
impl Sync for ToolCallStateMap
impl Unpin for ToolCallStateMap
impl UnsafeUnpin for ToolCallStateMap
impl UnwindSafe for ToolCallStateMap
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