Struct Function Call
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub struct FunctionCall {
pub name: String,
pub arguments: String,
}
A function call within a tool call.
Fields
name: String
The name of the function to call.
arguments: String
The function arguments as a JSON string (per OpenAI convention).
Trait Implementations
impl Clone for FunctionCall
impl Clone for FunctionCall
clone
fn clone(&self) -> FunctionCall
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for FunctionCall
impl Debug for FunctionCall
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl<'de> Deserialize<'de> for FunctionCall
impl<'de> Deserialize<'de> for FunctionCall
deserialize
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionCall, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl PartialEq for FunctionCall
impl PartialEq for FunctionCall
eq
fn eq(&self, other: &FunctionCall) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for FunctionCall
impl Serialize for FunctionCall
serialize
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for FunctionCall
impl StructuralPartialEq for FunctionCall