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 SnapshotToolCall {
    pub id: Option<String>,
    pub call_id: Option<String>,
    pub name: String,
    pub arguments: SnapshotPayload,
}

Owned invocation identifiers, name, and arguments.

Fields

id: Option<String>

Item/tool-call identifier.

call_id: Option<String>

Separate correlation identifier.

name: String

Function/tool name.

arguments: SnapshotPayload

Original argument representation.

Trait Implementations

impl Clone for SnapshotToolCall

impl Clone for SnapshotToolCall

clone

fn clone(&self) -> SnapshotToolCall

clone_from

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

impl Debug for SnapshotToolCall

impl Debug for SnapshotToolCall

fmt

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

impl PartialEq for SnapshotToolCall

impl PartialEq for SnapshotToolCall

eq

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

ne

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

impl Serialize for SnapshotToolCall

impl Serialize for SnapshotToolCall

serialize

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

impl WireValue<Box<LlmContentToolCall>> for SnapshotToolCall

impl WireValue<Box<LlmContentToolCall>> for SnapshotToolCall

to_wire

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

from_wire

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

impl WireValue<LlmContentToolCall> for SnapshotToolCall

impl WireValue<LlmContentToolCall> for SnapshotToolCall

to_wire

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

from_wire

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

impl StructuralPartialEq for SnapshotToolCall

impl StructuralPartialEq for SnapshotToolCall