Struct Tool Choice Function
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 ToolChoiceFunction {
pub choice_type: String,
pub function: ToolChoiceFunctionName,
}
A specific tool choice that forces a named function.
Fields
choice_type: String
The type (typically "function").
function: ToolChoiceFunctionName
The function to call.
Trait Implementations
impl Clone for ToolChoiceFunction
impl Clone for ToolChoiceFunction
clone
fn clone(&self) -> ToolChoiceFunction
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for ToolChoiceFunction
impl Debug for ToolChoiceFunction
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl<'de> Deserialize<'de> for ToolChoiceFunction
impl<'de> Deserialize<'de> for ToolChoiceFunction
deserialize
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolChoiceFunction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl PartialEq for ToolChoiceFunction
impl PartialEq for ToolChoiceFunction
eq
fn eq(&self, other: &ToolChoiceFunction) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for ToolChoiceFunction
impl Serialize for ToolChoiceFunction
serialize
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for ToolChoiceFunction
impl StructuralPartialEq for ToolChoiceFunction