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 SpanId(pub String);

Referenced types: String

Stable span identifier for addressable prompt blocks.

A newtype wrapper around String that provides Hash and Eq so SpanId values can be used as keys in HashMap / HashSet.

Tuple Fields

0: String

Trait Implementations

impl Clone for SpanId

impl Clone for SpanId

Referenced types: Clone, SpanId

clone

fn clone(&self) -> SpanId

Referenced types: clone, SpanId

clone_from

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

Referenced types: clone_from

impl Debug for SpanId

impl Debug for SpanId

Referenced types: Debug, SpanId

fmt

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

Referenced types: fmt, Formatter, Result

impl<'de> Deserialize<'de> for SpanId

impl<'de> Deserialize<'de> for SpanId

Referenced types: Deserialize, SpanId

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,

Referenced types: deserialize, Result, Error, Deserializer

impl Hash for SpanId

impl Hash for SpanId

Referenced types: Hash, SpanId

hash

fn hash<__H: Hasher>(&self, state: &mut __H)

Referenced types: hash, Hasher, &mut __H

hash_slice

fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,

Referenced types: hash_slice, &mut H, Hasher, Sized

impl PartialEq for SpanId

impl PartialEq for SpanId

Referenced types: PartialEq, SpanId

eq

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

Referenced types: eq, SpanId, bool

ne

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

Referenced types: ne, &Rhs, bool

impl Serialize for SpanId

impl Serialize for SpanId

Referenced types: Serialize, SpanId

serialize

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

Referenced types: serialize, Result, Ok, Error, Serializer

impl Eq for SpanId

impl Eq for SpanId

Referenced types: Eq, SpanId

impl StructuralPartialEq for SpanId

impl StructuralPartialEq for SpanId

Referenced types: StructuralPartialEq, SpanId