pub struct TelemetryUpdate {
pub schema_version: u32,
pub protocol_version: u32,
pub run_id: RunId,
pub node_id: NodeId,
pub attempt: u32,
pub state: TelemetryState,
pub active_tool_count: Option<u8>,
pub tool_name: Option<String>,
}Expand description
Strict v1 telemetry update request.
Fields§
§schema_version: u32Request schema version; must be TELEMETRY_SCHEMA_VERSION.
protocol_version: u32Protocol version; must be TELEMETRY_PROTOCOL_VERSION.
run_id: RunIdExact run identity.
node_id: NodeIdExact node identity.
attempt: u32Absolute current attempt (Node::retry_attempts).
state: TelemetryStateLast-told activity.
active_tool_count: Option<u8>Number of active tools, only valid for tool_running (1–32).
tool_name: Option<String>Sanitized single active tool name, allowed only when count is exactly 1.
Trait Implementations§
Source§impl Clone for TelemetryUpdate
impl Clone for TelemetryUpdate
Source§impl Debug for TelemetryUpdate
impl Debug for TelemetryUpdate
Source§impl<'de> Deserialize<'de> for TelemetryUpdate
impl<'de> Deserialize<'de> for TelemetryUpdate
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 TelemetryUpdate
Source§impl PartialEq for TelemetryUpdate
impl PartialEq for TelemetryUpdate
Source§impl Serialize for TelemetryUpdate
impl Serialize for TelemetryUpdate
impl StructuralPartialEq for TelemetryUpdate
Auto Trait Implementations§
impl Freeze for TelemetryUpdate
impl RefUnwindSafe for TelemetryUpdate
impl Send for TelemetryUpdate
impl Sync for TelemetryUpdate
impl Unpin for TelemetryUpdate
impl UnsafeUnpin for TelemetryUpdate
impl UnwindSafe for TelemetryUpdate
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