pub struct ToolPart {
pub tool: String,
pub call_id: String,
pub state: ToolState,
pub metadata: Option<Value>,
pub extra: HashMap<String, Value>,
}Fields§
§tool: String§call_id: String§state: ToolState§metadata: Option<Value>§extra: HashMap<String, Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ToolPart
impl<'de> Deserialize<'de> for ToolPart
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
Auto Trait Implementations§
impl Freeze for ToolPart
impl RefUnwindSafe for ToolPart
impl Send for ToolPart
impl Sync for ToolPart
impl Unpin for ToolPart
impl UnsafeUnpin for ToolPart
impl UnwindSafe for ToolPart
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