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 SnapshotEntry {
    pub location: ContentLocation,
    pub kind: SnapshotKind,
}

One owned typed entry and its read-time normalized location.

Fields

location: ContentLocation

Normalized field and array position, not an edit handle.

kind: SnapshotKind

Owned typed content.

Trait Implementations

impl Clone for SnapshotEntry

impl Clone for SnapshotEntry

clone

fn clone(&self) -> SnapshotEntry

clone_from

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

impl Debug for SnapshotEntry

impl Debug for SnapshotEntry

fmt

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

impl PartialEq for SnapshotEntry

impl PartialEq for SnapshotEntry

eq

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

ne

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

impl Serialize for SnapshotEntry

impl Serialize for SnapshotEntry

serialize

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

impl WireValue<LlmContentEntry> for SnapshotEntry

impl WireValue<LlmContentEntry> for SnapshotEntry

to_wire

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

from_wire

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

impl StructuralPartialEq for SnapshotEntry

impl StructuralPartialEq for SnapshotEntry