pub struct RuntimeDiagnosticsV1 {Show 14 fields
pub runtime_version: String,
pub protocol_version: u32,
pub channel: String,
pub model_generation: u64,
pub state_generation: u64,
pub state_schema_version: u32,
pub observed_at_unix_ms: u64,
pub health: RuntimeHealthStatusV1,
pub reason_codes: Vec<String>,
pub resource_usage: RuntimeResourceUsageV1,
pub rollback_available: bool,
pub candidate_available: bool,
pub restart_count: u64,
pub last_error: Option<String>,
}Expand description
Structured, clock-injected runtime diagnostics for consumers and release
qualification. The runtime does not read a clock implicitly; callers pass
the observation time to diagnostics_at.
Fields§
§runtime_version: String§protocol_version: u32§channel: String§model_generation: u64§state_generation: u64§state_schema_version: u32§observed_at_unix_ms: u64§health: RuntimeHealthStatusV1§reason_codes: Vec<String>§resource_usage: RuntimeResourceUsageV1§rollback_available: bool§candidate_available: bool§restart_count: u64§last_error: Option<String>Trait Implementations§
Source§impl Clone for RuntimeDiagnosticsV1
impl Clone for RuntimeDiagnosticsV1
Source§fn clone(&self) -> RuntimeDiagnosticsV1
fn clone(&self) -> RuntimeDiagnosticsV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeDiagnosticsV1
impl Debug for RuntimeDiagnosticsV1
Source§impl<'de> Deserialize<'de> for RuntimeDiagnosticsV1
impl<'de> Deserialize<'de> for RuntimeDiagnosticsV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RuntimeDiagnosticsV1
Source§impl PartialEq for RuntimeDiagnosticsV1
impl PartialEq for RuntimeDiagnosticsV1
Source§impl Serialize for RuntimeDiagnosticsV1
impl Serialize for RuntimeDiagnosticsV1
impl StructuralPartialEq for RuntimeDiagnosticsV1
Auto Trait Implementations§
impl Freeze for RuntimeDiagnosticsV1
impl RefUnwindSafe for RuntimeDiagnosticsV1
impl Send for RuntimeDiagnosticsV1
impl Sync for RuntimeDiagnosticsV1
impl Unpin for RuntimeDiagnosticsV1
impl UnsafeUnpin for RuntimeDiagnosticsV1
impl UnwindSafe for RuntimeDiagnosticsV1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more