pub struct C2ControlEvent {
pub sequence: u64,
pub command_id: Option<CommandId>,
pub instance_id: AgentInstanceId,
pub generation: SessionGeneration,
pub event: C2ControlEventKind,
pub detail: Option<ControlEvent>,
}Fields§
§sequence: u64§command_id: Option<CommandId>§instance_id: AgentInstanceId§generation: SessionGeneration§event: C2ControlEventKind§detail: Option<ControlEvent>The sanitized facts behind the tag, for a client that derives its own
telemetry (tool calls, token usage, plans, lifecycle) and negotiated
C2_CONTROL_DETAIL_CAPABILITY. None on every default projection; see
control_telemetry_detail for exactly what it keeps and clears.
Trait Implementations§
Source§impl Clone for C2ControlEvent
impl Clone for C2ControlEvent
Source§impl Debug for C2ControlEvent
impl Debug for C2ControlEvent
Source§impl<'de> Deserialize<'de> for C2ControlEvent
impl<'de> Deserialize<'de> for C2ControlEvent
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 C2ControlEvent
Source§impl From<&ControlEvent> for C2ControlEvent
impl From<&ControlEvent> for C2ControlEvent
Source§fn from(event: &ControlEvent) -> Self
fn from(event: &ControlEvent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for C2ControlEvent
impl PartialEq for C2ControlEvent
Source§impl Serialize for C2ControlEvent
impl Serialize for C2ControlEvent
impl StructuralPartialEq for C2ControlEvent
Auto Trait Implementations§
impl Freeze for C2ControlEvent
impl RefUnwindSafe for C2ControlEvent
impl Send for C2ControlEvent
impl Sync for C2ControlEvent
impl Unpin for C2ControlEvent
impl UnsafeUnpin for C2ControlEvent
impl UnwindSafe for C2ControlEvent
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