pub struct StepStartedEvent {
pub base: BaseEvent,
pub step_name: StepName,
pub subagent_run_id: Option<SubagentRunId>,
}Expand description
Opens a named step within a run.
Fields§
§base: BaseEventTimestamp and raw provider event.
step_name: StepNameThe step that is starting.
subagent_run_id: Option<SubagentRunId>The subagent that opened the step; absent means the parent agent. A
JSON null is rejected — see crate::event::subagent. Steps are
scoped to the agent that opened them: a subagent cannot close the
parent’s step, or a sibling’s, so the same name may be open under two
owners at once.
Implementations§
Trait Implementations§
Source§impl Clone for StepStartedEvent
impl Clone for StepStartedEvent
Source§fn clone(&self) -> StepStartedEvent
fn clone(&self) -> StepStartedEvent
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 ComposeSchema for StepStartedEvent
impl ComposeSchema for StepStartedEvent
Source§impl Debug for StepStartedEvent
impl Debug for StepStartedEvent
Source§impl Default for StepStartedEvent
impl Default for StepStartedEvent
Source§fn default() -> StepStartedEvent
fn default() -> StepStartedEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StepStartedEvent
impl<'de> Deserialize<'de> for StepStartedEvent
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 From<StepStartedEvent> for Event
impl From<StepStartedEvent> for Event
Source§fn from(payload: StepStartedEvent) -> Self
fn from(payload: StepStartedEvent) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for StepStartedEvent
impl JsonSchema for StepStartedEvent
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for StepStartedEvent
impl PartialEq for StepStartedEvent
Source§fn eq(&self, other: &StepStartedEvent) -> bool
fn eq(&self, other: &StepStartedEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StepStartedEvent
impl Serialize for StepStartedEvent
impl StructuralPartialEq for StepStartedEvent
Auto Trait Implementations§
impl Freeze for StepStartedEvent
impl RefUnwindSafe for StepStartedEvent
impl Send for StepStartedEvent
impl Sync for StepStartedEvent
impl Unpin for StepStartedEvent
impl UnsafeUnpin for StepStartedEvent
impl UnwindSafe for StepStartedEvent
Blanket Implementations§
impl<T> AgentState for T
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