Struct Diagnostic Count
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.
Referenced types: DiagnosticNumber, bool
Magnitude of an occurrence or loss counter, including overflow visibility.
Fields
value: DiagnosticNumber
Exact count unless saturation has occurred.
saturated: bool
Whether an overflowing increment made the value a lower bound.
Implementations
impl DiagnosticCount
Referenced types: DiagnosticCount
add
Referenced types: u64
Add occurrences, preserving overflow as an explicit lower-bound marker.
Trait Implementations
impl Clone for DiagnosticCount
Referenced types: Clone, DiagnosticCount
clone
Referenced types: clone, DiagnosticCount
clone_from
Referenced types: clone_from
impl Debug for DiagnosticCount
Referenced types: Debug, DiagnosticCount
fmt
Referenced types: fmt, Formatter, Result, (), Error
impl Default for DiagnosticCount
Referenced types: Default, DiagnosticCount
default
Referenced types: default, DiagnosticCount
impl<'de> Deserialize<'de> for DiagnosticCount
Referenced types: Deserialize, DiagnosticCount
deserialize
Referenced types: deserialize, Result, DiagnosticCount, Deserializer, Error
impl JsonSchema for DiagnosticCount
Referenced types: DiagnosticCount
schema_name
Referenced types: String
schema_id
json_schema
is_referenceable
Referenced types: bool
impl PartialEq for DiagnosticCount
Referenced types: PartialEq, DiagnosticCount
eq
Referenced types: eq, DiagnosticCount, bool
ne
Referenced types: ne, &Rhs, bool
impl Serialize for DiagnosticCount
Referenced types: Serialize, DiagnosticCount
serialize
Referenced types: serialize, Result, Serializer, Ok, Error
impl WireValue<Box<DiagnosticCount>> for DiagnosticCount
Referenced types: WireValue, Box, DiagnosticCount, DiagnosticCount
to_wire
Referenced types: to_wire, Result, Box, DiagnosticCount, ConversionError
from_wire
Referenced types: from_wire, Box, DiagnosticCount, Result, DiagnosticCount, ConversionError
impl WireValue<DiagnosticCount> for DiagnosticCount
Referenced types: WireValue, DiagnosticCount, DiagnosticCount
to_wire
Referenced types: to_wire, Result, DiagnosticCount, ConversionError
from_wire
Referenced types: from_wire, DiagnosticCount, Result, DiagnosticCount, ConversionError
impl Copy for DiagnosticCount
Referenced types: Copy, DiagnosticCount
impl Eq for DiagnosticCount
Referenced types: Eq, DiagnosticCount
impl StructuralPartialEq for DiagnosticCount
Referenced types: StructuralPartialEq, DiagnosticCount