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 LlmRequest {
pub headers: Map<String, Value>,
pub content: Value,
}

Referenced types: Map, String, Value

JSON-shaped LLM request payload passed through the runtime.

Fields

headers: Map<String, Value>

Provider-specific request headers.

content: Value

Provider-specific request body.

Trait Implementations

impl Clone for LlmRequest

impl Clone for LlmRequest

Referenced types: Clone, LlmRequest

clone

fn clone(&self) -> LlmRequest

Referenced types: clone, LlmRequest

clone_from

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

Referenced types: clone_from

impl Debug for LlmRequest

impl Debug for LlmRequest

Referenced types: Debug, LlmRequest

fmt

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

Referenced types: fmt, Formatter, Result, (), Error

impl<'de> Deserialize<'de> for LlmRequest

impl<'de> Deserialize<'de> for LlmRequest

Referenced types: Deserialize, LlmRequest

deserialize

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

Referenced types: deserialize, Result, LlmRequest, Deserializer, Error

impl From<LlmRequest> for LlmRequestInterceptOutcome

impl From<LlmRequest> for LlmRequestInterceptOutcome

Referenced types: From, LlmRequest, LlmRequestInterceptOutcome

from

fn from(request: LlmRequest) -> LlmRequestInterceptOutcome

Referenced types: from, LlmRequest, LlmRequestInterceptOutcome

impl PartialEq for LlmRequest

impl PartialEq for LlmRequest

Referenced types: PartialEq, LlmRequest

eq

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

Referenced types: eq, LlmRequest, bool

ne

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

Referenced types: ne, &Rhs, bool

impl Serialize for LlmRequest

impl Serialize for LlmRequest

Referenced types: Serialize, LlmRequest

serialize

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

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

impl StructuralPartialEq for LlmRequest

impl StructuralPartialEq for LlmRequest

Referenced types: StructuralPartialEq, LlmRequest