pub struct TelemetryView {
pub sample: TelemetrySampleStatus,
pub state: Option<TelemetryState>,
pub age_ms: Option<i64>,
pub state_elapsed_ms: Option<i64>,
pub attempt: Option<u32>,
pub active_tool_count: Option<u8>,
pub tool_name: Option<String>,
}Expand description
Read view of one node’s advisory telemetry.
Fields§
§sample: TelemetrySampleStatusFreshness/corruption classification.
state: Option<TelemetryState>Last-told state when a valid current-attempt sample exists.
age_ms: Option<i64>Age in milliseconds, unavailable when the clock is unreliable.
state_elapsed_ms: Option<i64>Time since this state was first received, unavailable with a bad clock.
attempt: Option<u32>Sample attempt.
active_tool_count: Option<u8>Bounded active-tool count.
tool_name: Option<String>Sanitized single-tool name.
Trait Implementations§
Source§impl Clone for TelemetryView
impl Clone for TelemetryView
Source§impl Debug for TelemetryView
impl Debug for TelemetryView
Source§impl<'de> Deserialize<'de> for TelemetryView
impl<'de> Deserialize<'de> for TelemetryView
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 TelemetryView
Source§impl PartialEq for TelemetryView
impl PartialEq for TelemetryView
Source§impl Serialize for TelemetryView
impl Serialize for TelemetryView
impl StructuralPartialEq for TelemetryView
Auto Trait Implementations§
impl Freeze for TelemetryView
impl RefUnwindSafe for TelemetryView
impl Send for TelemetryView
impl Sync for TelemetryView
impl Unpin for TelemetryView
impl UnsafeUnpin for TelemetryView
impl UnwindSafe for TelemetryView
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