Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct ToolCall {
pub id: String,
pub call_type: String,
pub function: FunctionCall,
}
A tool call requested by the assistant.
id: StringUnique identifier for this tool call.
call_type: StringThe type of tool call (typically "function").
function: FunctionCallThe function to call.
impl Clone for ToolCallimpl Clone for ToolCall
clonefn clone(&self) -> ToolCall
clone_fromfn clone_from(&mut self, source: &Self)
impl Debug for ToolCallimpl Debug for ToolCall
fmtfn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for ToolCallimpl<'de> Deserialize<'de> for ToolCall
deserializefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl PartialEq for ToolCallimpl PartialEq for ToolCall
eqfn eq(&self, other: &ToolCall) -> bool
nefn ne(&self, other: &Rhs) -> bool
impl Serialize for ToolCallimpl Serialize for ToolCall
serializefn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for ToolCallimpl StructuralPartialEq for ToolCall