Skip to navigation

Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -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,
}

Referenced types: 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

Referenced types: Clone, FunctionCall

clone

fn clone(&self) -> FunctionCall

Referenced types: clone, FunctionCall

clone_from

fn clone_from(&mut self, source: &Self)

Referenced types: clone_from

impl Debug for FunctionCall

impl Debug for FunctionCall

Referenced types: Debug, FunctionCall

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Referenced types: fmt, Formatter, Result, (), Error

impl<'de> Deserialize<'de> for FunctionCall

impl<'de> Deserialize<'de> for FunctionCall

Referenced types: Deserialize, FunctionCall

deserialize

fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionCall, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,

Referenced types: deserialize, Result, FunctionCall, Deserializer, Error

impl PartialEq for FunctionCall

impl PartialEq for FunctionCall

Referenced types: PartialEq, FunctionCall

eq

fn eq(&self, other: &FunctionCall) -> bool

Referenced types: eq, FunctionCall, bool

ne

fn ne(&self, other: &Rhs) -> bool

Referenced types: ne, &Rhs, bool

impl Serialize for FunctionCall

impl Serialize for FunctionCall

Referenced types: Serialize, FunctionCall

serialize

fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,

Referenced types: serialize, Result, Serializer, Ok, Error

impl WireValue<Box<FunctionCall>> for FunctionCall

impl WireValue<Box<FunctionCall>> for FunctionCall

Referenced types: WireValue, Box, FunctionCall, FunctionCall

to_wire

fn to_wire(self) -> Result<Box<FunctionCall>, ConversionError>

Referenced types: to_wire, Result, Box, FunctionCall, ConversionError

from_wire

fn from_wire(value: Box<FunctionCall>) -> Result<FunctionCall, ConversionError>

Referenced types: from_wire, Box, FunctionCall, Result, FunctionCall, ConversionError

impl WireValue<FunctionCall> for FunctionCall

impl WireValue<FunctionCall> for FunctionCall

Referenced types: WireValue, FunctionCall, FunctionCall

to_wire

fn to_wire(self) -> Result<FunctionCall, ConversionError>

Referenced types: to_wire, Result, FunctionCall, ConversionError

from_wire

fn from_wire(value: FunctionCall) -> Result<FunctionCall, ConversionError>

Referenced types: from_wire, FunctionCall, Result, FunctionCall, ConversionError

impl StructuralPartialEq for FunctionCall

impl StructuralPartialEq for FunctionCall

Referenced types: StructuralPartialEq, FunctionCall