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 DiagnosticCodeDefinition {
pub definition: Option<Definition>,
}

Referenced types: Option

Selects an existing catalogue name or an activation-local extension definition.

Fields

definition: Option<Definition>

Exactly one recognized alternative is required when this message is present.

Trait Implementations

impl Clone for DiagnosticCodeDefinition

impl Clone for DiagnosticCodeDefinition

Referenced types: Clone, DiagnosticCodeDefinition

clone

fn clone(&self) -> DiagnosticCodeDefinition

Referenced types: clone, DiagnosticCodeDefinition

clone_from

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

Referenced types: clone_from

impl Debug for DiagnosticCodeDefinition

impl Debug for DiagnosticCodeDefinition

Referenced types: Debug, DiagnosticCodeDefinition

fmt

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

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

impl Default for DiagnosticCodeDefinition

impl Default for DiagnosticCodeDefinition

Referenced types: Default, DiagnosticCodeDefinition

default

fn default() -> DiagnosticCodeDefinition

Referenced types: default, DiagnosticCodeDefinition

impl Hash for DiagnosticCodeDefinition

impl Hash for DiagnosticCodeDefinition

Referenced types: Hash, DiagnosticCodeDefinition

hash

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

Referenced types: hash, &mut __H, Hasher

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 Message for DiagnosticCodeDefinition

impl Message for DiagnosticCodeDefinition

Referenced types: Message, DiagnosticCodeDefinition

encoded_len

fn encoded_len(&self) -> usize

Referenced types: encoded_len, usize

clear

fn clear(&mut self)

Referenced types: clear

encode

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,

Referenced types: encode, Result, (), EncodeError, Sized

encode_to_vec

fn encode_to_vec(&self) -> Vec<u8> where
Self: Sized,

Referenced types: encode_to_vec, Vec, u8, Sized

encode_length_delimited

fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,

Referenced types: encode_length_delimited, Result, (), EncodeError, Sized

encode_length_delimited_to_vec

fn encode_length_delimited_to_vec(&self) -> Vec<u8> where
Self: Sized,

Referenced types: encode_length_delimited_to_vec, Vec, u8, Sized

decode

fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,

Referenced types: decode, Result, DecodeError, Default

decode_length_delimited

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,

Referenced types: decode_length_delimited, Result, DecodeError, Default

merge

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,

Referenced types: merge, Result, (), DecodeError, Sized

merge_length_delimited

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,

Referenced types: merge_length_delimited, Result, (), DecodeError, Sized

impl Name for DiagnosticCodeDefinition

impl Name for DiagnosticCodeDefinition

Referenced types: Name, DiagnosticCodeDefinition

NAME

const NAME: &'static str = "DiagnosticCodeDefinition"

Referenced types: NAME, str

PACKAGE

const PACKAGE: &'static str = "nvidia.nemo.relay.worker.v1"

Referenced types: PACKAGE, str

full_name

fn full_name() -> String

Referenced types: full_name, String

type_url

fn type_url() -> String

Referenced types: type_url, String

impl PartialEq for DiagnosticCodeDefinition

impl PartialEq for DiagnosticCodeDefinition

Referenced types: PartialEq, DiagnosticCodeDefinition

eq

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

Referenced types: eq, DiagnosticCodeDefinition, bool

ne

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

Referenced types: ne, &Rhs, bool

impl Eq for DiagnosticCodeDefinition

impl Eq for DiagnosticCodeDefinition

Referenced types: Eq, DiagnosticCodeDefinition

impl StructuralPartialEq for DiagnosticCodeDefinition

impl StructuralPartialEq for DiagnosticCodeDefinition

Referenced types: StructuralPartialEq, DiagnosticCodeDefinition