pub struct AgentStreamSource {
pub kind: AgentStreamSourceKind,
pub agent_id: AgentId,
pub agent_name: String,
pub task_id: Option<TaskId>,
pub run_id: Option<RunId>,
pub parent_run_id: Option<RunId>,
pub source_sequence: usize,
}Expand description
Source attribution for records merged from nested agent runs.
Fields§
§kind: AgentStreamSourceKindSource category.
agent_id: AgentIdSource agent identifier.
agent_name: StringHuman-readable source agent name.
task_id: Option<TaskId>Delegated task identifier when the source is task scoped.
run_id: Option<RunId>Source run identifier when known.
parent_run_id: Option<RunId>Parent run identifier when known.
source_sequence: usizeOriginal sequence number in the source run before parent stream rebasing.
Implementations§
Trait Implementations§
Source§impl Clone for AgentStreamSource
impl Clone for AgentStreamSource
Source§fn clone(&self) -> AgentStreamSource
fn clone(&self) -> AgentStreamSource
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 AgentStreamSource
impl Debug for AgentStreamSource
Source§impl<'de> Deserialize<'de> for AgentStreamSource
impl<'de> Deserialize<'de> for AgentStreamSource
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 AgentStreamSource
Source§impl PartialEq for AgentStreamSource
impl PartialEq for AgentStreamSource
Source§impl Serialize for AgentStreamSource
impl Serialize for AgentStreamSource
impl StructuralPartialEq for AgentStreamSource
Auto Trait Implementations§
impl Freeze for AgentStreamSource
impl RefUnwindSafe for AgentStreamSource
impl Send for AgentStreamSource
impl Sync for AgentStreamSource
impl Unpin for AgentStreamSource
impl UnsafeUnpin for AgentStreamSource
impl UnwindSafe for AgentStreamSource
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