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 ContentSnapshot {
    pub parts: Vec<SnapshotEntry>,
    pub text_parts: Vec<String>,
}

Owned snapshot; materialization copies selected content for transport or independent retention.

Fields

parts: Vec<SnapshotEntry>

Ordered typed entries, including tool/media/native payloads.

text_parts: Vec<String>

Authoritative eligible text strings from shared extraction, preserving empty parts.

Trait Implementations

impl Clone for ContentSnapshot

impl Clone for ContentSnapshot

clone

fn clone(&self) -> ContentSnapshot

clone_from

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

impl Debug for ContentSnapshot

impl Debug for ContentSnapshot

fmt

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

impl PartialEq for ContentSnapshot

impl PartialEq for ContentSnapshot

eq

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

ne

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

impl Serialize for ContentSnapshot

impl Serialize for ContentSnapshot

serialize

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

impl StructuralPartialEq for ContentSnapshot

impl StructuralPartialEq for ContentSnapshot