Enum Snapshot Payload
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 enum SnapshotPayload {
Null,
String(String),
Json(Value),
Content(MessageContent),
}
Tool payload in its existing normalized representation.
Variants
Null
Null
Explicit absent legacy result.
String(String)
String(String)
String-valued arguments/result; never parsed.
Json(Value)
Json(Value)
Parsed JSON, including JSON strings/nulls.
Content(MessageContent)
Content(MessageContent)
Complete normalized tool-result content.
Trait Implementations
impl Clone for SnapshotPayload
impl Clone for SnapshotPayload
clone
fn clone(&self) -> SnapshotPayload
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for SnapshotPayload
impl Debug for SnapshotPayload
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl From<PayloadRef<'_>> for SnapshotPayload
impl From<PayloadRef<'_>> for SnapshotPayload
from
fn from(payload: PayloadRef<'_>) -> SnapshotPayload
impl PartialEq for SnapshotPayload
impl PartialEq for SnapshotPayload
eq
fn eq(&self, other: &SnapshotPayload) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for SnapshotPayload
impl Serialize for SnapshotPayload
serialize
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl WireValue<LlmContentPayload> for SnapshotPayload
impl WireValue<LlmContentPayload> for SnapshotPayload
to_wire
fn to_wire(self) -> Result<LlmContentPayload, ConversionError>
from_wire
fn from_wire(
value: LlmContentPayload,
) -> Result<SnapshotPayload, ConversionError>
impl StructuralPartialEq for SnapshotPayload
impl StructuralPartialEq for SnapshotPayload