Skip to navigation

Struct Diagnostic Http Error Details

View as Markdown

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 DiagnosticHttpErrorDetails {
    pub reason: DiagnosticHttpReason,
    pub supported_schema_version: Option<u32>,
}

Error details without query values, credentials, or retained evidence.

Fields

reason: DiagnosticHttpReason

Stable operation failure reason.

supported_schema_version: Option<u32>

Supported version, supplied for an unsupported snapshot schema.

Trait Implementations

impl Clone for DiagnosticHttpErrorDetails

impl Clone for DiagnosticHttpErrorDetails

clone

fn clone(&self) -> DiagnosticHttpErrorDetails

clone_from

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

impl Debug for DiagnosticHttpErrorDetails

impl Debug for DiagnosticHttpErrorDetails

fmt

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

impl<'de> Deserialize<'de> for DiagnosticHttpErrorDetails

impl<'de> Deserialize<'de> for DiagnosticHttpErrorDetails

deserialize

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

impl JsonSchema for DiagnosticHttpErrorDetails

impl JsonSchema for DiagnosticHttpErrorDetails

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 PartialEq for DiagnosticHttpErrorDetails

impl PartialEq for DiagnosticHttpErrorDetails

eq

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

ne

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

impl Serialize for DiagnosticHttpErrorDetails

impl Serialize for DiagnosticHttpErrorDetails

serialize

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

impl Eq for DiagnosticHttpErrorDetails

impl Eq for DiagnosticHttpErrorDetails

impl StructuralPartialEq for DiagnosticHttpErrorDetails

impl StructuralPartialEq for DiagnosticHttpErrorDetails