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 SnapshotToolResult {
    pub id: Option<String>,
    pub call_id: Option<String>,
    pub name: Option<String>,
    pub is_error: Option<bool>,
    pub payload: SnapshotPayload,
}

Owned result identifiers and complete payload.

Fields

id: Option<String>

Item identifier.

call_id: Option<String>

Corresponding tool-call identifier.

name: Option<String>

Legacy function-result name.

is_error: Option<bool>

Explicit error flag.

payload: SnapshotPayload

Complete result payload.

Trait Implementations

impl Clone for SnapshotToolResult

impl Clone for SnapshotToolResult

clone

fn clone(&self) -> SnapshotToolResult

clone_from

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

impl Debug for SnapshotToolResult

impl Debug for SnapshotToolResult

fmt

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

impl PartialEq for SnapshotToolResult

impl PartialEq for SnapshotToolResult

eq

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

ne

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

impl Serialize for SnapshotToolResult

impl Serialize for SnapshotToolResult

serialize

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

impl WireValue<Box<LlmContentToolResult>> for SnapshotToolResult

impl WireValue<Box<LlmContentToolResult>> for SnapshotToolResult

to_wire

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

from_wire

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

impl WireValue<LlmContentToolResult> for SnapshotToolResult

impl WireValue<LlmContentToolResult> for SnapshotToolResult

to_wire

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

from_wire

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

impl StructuralPartialEq for SnapshotToolResult

impl StructuralPartialEq for SnapshotToolResult