pub struct ObservationResult {
pub source_call_id: Option<String>,
pub content: Option<Value>,
pub subagent_trajectory_ref: Option<Vec<SubagentTrajectoryRef>>,
pub extra: Option<Value>,
}Expand description
One observation result.
Fields§
§source_call_id: Option<String>The tool_call_id this result answers (optional for free-form
system observations).
content: Option<Value>Result content (string or content-part array since v1.6).
subagent_trajectory_ref: Option<Vec<SubagentTrajectoryRef>>References to delegated subagent trajectories.
extra: Option<Value>Custom metadata (v1.7).
Trait Implementations§
Source§impl Clone for ObservationResult
impl Clone for ObservationResult
Source§fn clone(&self) -> ObservationResult
fn clone(&self) -> ObservationResult
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 ObservationResult
impl Debug for ObservationResult
Source§impl<'de> Deserialize<'de> for ObservationResult
impl<'de> Deserialize<'de> for ObservationResult
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
Source§impl PartialEq for ObservationResult
impl PartialEq for ObservationResult
Source§fn eq(&self, other: &ObservationResult) -> bool
fn eq(&self, other: &ObservationResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ObservationResult
impl Serialize for ObservationResult
impl StructuralPartialEq for ObservationResult
Auto Trait Implementations§
impl Freeze for ObservationResult
impl RefUnwindSafe for ObservationResult
impl Send for ObservationResult
impl Sync for ObservationResult
impl Unpin for ObservationResult
impl UnsafeUnpin for ObservationResult
impl UnwindSafe for ObservationResult
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