pub struct RuntimeDiagnostic {
pub code: String,
pub message: String,
pub count: u64,
}Expand description
One bounded runtime diagnostic reported by the Relay host.
Fields§
§code: StringStable identifier for the diagnostic condition.
message: StringMost recently recorded message for this condition.
count: u64Total number of occurrences recorded for this condition.
Trait Implementations§
Source§impl Clone for RuntimeDiagnostic
impl Clone for RuntimeDiagnostic
Source§fn clone(&self) -> RuntimeDiagnostic
fn clone(&self) -> RuntimeDiagnostic
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 RuntimeDiagnostic
impl Debug for RuntimeDiagnostic
Source§impl<'de> Deserialize<'de> for RuntimeDiagnostic
impl<'de> Deserialize<'de> for RuntimeDiagnostic
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 RuntimeDiagnostic
Source§impl PartialEq for RuntimeDiagnostic
impl PartialEq for RuntimeDiagnostic
Source§impl Serialize for RuntimeDiagnostic
impl Serialize for RuntimeDiagnostic
impl StructuralPartialEq for RuntimeDiagnostic
Auto Trait Implementations§
impl Freeze for RuntimeDiagnostic
impl RefUnwindSafe for RuntimeDiagnostic
impl Send for RuntimeDiagnostic
impl Sync for RuntimeDiagnostic
impl Unpin for RuntimeDiagnostic
impl UnsafeUnpin for RuntimeDiagnostic
impl UnwindSafe for RuntimeDiagnostic
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