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 DiagnosticDetail {
pub message: String,
pub truncated: bool,
}

Referenced types: String, bool

Restricted optional recent evidence, independent of the accepted numeric summary.

Fields

message: String

Text copied within admitted byte capacity; bounding does not sanitize it.

truncated: bool

Whether the original text exceeded its retained byte allowance.

Trait Implementations

impl Clone for DiagnosticDetail

impl Clone for DiagnosticDetail

Referenced types: Clone, DiagnosticDetail

clone

fn clone(&self) -> DiagnosticDetail

Referenced types: clone, DiagnosticDetail

clone_from

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

Referenced types: clone_from

impl Debug for DiagnosticDetail

impl Debug for DiagnosticDetail

Referenced types: Debug, DiagnosticDetail

fmt

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

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

impl<'de> Deserialize<'de> for DiagnosticDetail

impl<'de> Deserialize<'de> for DiagnosticDetail

Referenced types: Deserialize, DiagnosticDetail

deserialize

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

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

impl JsonSchema for DiagnosticDetail

impl JsonSchema for DiagnosticDetail

Referenced types: DiagnosticDetail

schema_name

fn schema_name() -> String

Referenced types: String

schema_id

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

Referenced types: Cow, str

json_schema

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

is_referenceable

fn is_referenceable() -> bool

Referenced types: bool

impl PartialEq for DiagnosticDetail

impl PartialEq for DiagnosticDetail

Referenced types: PartialEq, DiagnosticDetail

eq

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

Referenced types: eq, DiagnosticDetail, bool

ne

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

Referenced types: ne, &Rhs, bool

impl Serialize for DiagnosticDetail

impl Serialize for DiagnosticDetail

Referenced types: Serialize, DiagnosticDetail

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 WireValue<Box<DiagnosticDetail>> for DiagnosticDetail

impl WireValue<Box<DiagnosticDetail>> for DiagnosticDetail

Referenced types: WireValue, Box, DiagnosticDetail, DiagnosticDetail

to_wire

fn to_wire(self) -> Result<Box<DiagnosticDetail>, ConversionError>

Referenced types: to_wire, Result, Box, DiagnosticDetail, ConversionError

from_wire

fn from_wire(
value: Box<DiagnosticDetail>,
) -> Result<DiagnosticDetail, ConversionError>

Referenced types: from_wire, Box, DiagnosticDetail, Result, DiagnosticDetail, ConversionError

impl WireValue<DiagnosticDetail> for DiagnosticDetail

impl WireValue<DiagnosticDetail> for DiagnosticDetail

Referenced types: WireValue, DiagnosticDetail, DiagnosticDetail

to_wire

fn to_wire(self) -> Result<DiagnosticDetail, ConversionError>

Referenced types: to_wire, Result, DiagnosticDetail, ConversionError

from_wire

fn from_wire(
value: DiagnosticDetail,
) -> Result<DiagnosticDetail, ConversionError>

Referenced types: from_wire, DiagnosticDetail, Result, DiagnosticDetail, ConversionError

impl Eq for DiagnosticDetail

impl Eq for DiagnosticDetail

Referenced types: Eq, DiagnosticDetail

impl StructuralPartialEq for DiagnosticDetail

impl StructuralPartialEq for DiagnosticDetail

Referenced types: StructuralPartialEq, DiagnosticDetail