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 enum TargetDocument {
RequestNormalized,
RequestProvider,
ResponseNormalized,
ResponseProvider,
}

A document against which an explicit managed LLM selector is evaluated.

Variants

RequestNormalized

RequestNormalized

Serialized request annotation.

RequestProvider

RequestProvider

Provider request body (without headers).

ResponseNormalized

ResponseNormalized

Serialized response annotation.

ResponseProvider

ResponseProvider

Provider response body, or finalized aggregate for streams.

Trait Implementations

impl Clone for TargetDocument

impl Clone for TargetDocument

clone

fn clone(&self) -> TargetDocument

clone_from

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

impl Debug for TargetDocument

impl Debug for TargetDocument

fmt

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

impl<'de> Deserialize<'de> for TargetDocument

impl<'de> Deserialize<'de> for TargetDocument

deserialize

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

impl JsonSchema for TargetDocument

impl JsonSchema for TargetDocument

schema_name

fn schema_name() -> String

schema_id

fn schema_id() -> Cow<'static, str>

json_schema

fn json_schema(generator: &mut SchemaGenerator) -> Schema

is_referenceable

fn is_referenceable() -> bool

impl Ord for TargetDocument

impl Ord for TargetDocument

cmp

fn cmp(&self, other: &TargetDocument) -> Ordering

max

fn max(self, other: Self) -> Selfwhere
    Self: Sized,

min

fn min(self, other: Self) -> Selfwhere
    Self: Sized,

clamp

fn clamp(self, min: Self, max: Self) -> Selfwhere
    Self: Sized,

impl PartialEq for TargetDocument

impl PartialEq for TargetDocument

eq

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

ne

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

impl PartialOrd for TargetDocument

impl PartialOrd for TargetDocument

partial_cmp

fn partial_cmp(&self, other: &TargetDocument) -> Option<Ordering>

lt

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

le

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

gt

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

ge

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

impl Serialize for TargetDocument

impl Serialize for TargetDocument

serialize

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

impl Copy for TargetDocument

impl Copy for TargetDocument

impl Eq for TargetDocument

impl Eq for TargetDocument

impl StructuralPartialEq for TargetDocument

impl StructuralPartialEq for TargetDocument