Struct Nemo Relay Native LlmResponse Context

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -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.

#[repr(C)]pub struct NemoRelayNativeLlmResponseContext {
    pub codec_kind: NemoRelayNativeLlmCodecKind,
    pub codec_id: *const NemoRelayNativeString,
    pub codec: *const NemoRelayNativeLlmResponseCodec,
}

Response codec context passed to a native non-streaming LLM execution intercept.

Fields

codec_kind: NemoRelayNativeLlmCodecKind

Discriminator for the active response codec.

codec_id: *const NemoRelayNativeString

Optional borrowed built-in or runtime codec identifier.

codec: *const NemoRelayNativeLlmResponseCodec

Borrowed response codec capability, or null when no codec is active.

Trait Implementations

impl Clone for NemoRelayNativeLlmResponseContext

impl Clone for NemoRelayNativeLlmResponseContext

clone

fn clone(&self) -> NemoRelayNativeLlmResponseContext

clone_from

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

impl Debug for NemoRelayNativeLlmResponseContext

impl Debug for NemoRelayNativeLlmResponseContext

fmt

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

impl Copy for NemoRelayNativeLlmResponseContext

impl Copy for NemoRelayNativeLlmResponseContext