pub struct Observation {
pub outcomes: Vec<ActionOutcome>,
pub events: Vec<ObservationEvent>,
pub history_messages: Vec<ChatMessage>,
pub batch_status: BatchStatus,
}Expand description
What the runtime observed after executing a batch of actions (D15: always
returned once anything ran — ExecError is reserved for “nothing ran”).
history_messages is the BACKEND’s protocol rendering; the kernel pushes
them verbatim and never interprets them.
Fields§
§outcomes: Vec<ActionOutcome>One entry per action, in submission order (ids pair with the batch).
events: Vec<ObservationEvent>Tax-3 event channel (typed empty until M3c fills it).
history_messages: Vec<ChatMessage>Backend-rendered history messages to push as-is.
batch_status: BatchStatusBatch health.
Trait Implementations§
Source§impl Clone for Observation
impl Clone for Observation
Source§impl Debug for Observation
impl Debug for Observation
Source§impl<'de> Deserialize<'de> for Observation
impl<'de> Deserialize<'de> for Observation
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
Auto Trait Implementations§
impl Freeze for Observation
impl RefUnwindSafe for Observation
impl Send for Observation
impl Sync for Observation
impl Unpin for Observation
impl UnsafeUnpin for Observation
impl UnwindSafe for Observation
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