pub struct StepFinishedEvent {
pub base: BaseEvent,
pub step_name: StepName,
pub subagent_run_id: Option<SubagentRunId>,
}Expand description
Closes a named step.
Fields§
§base: BaseEventTimestamp and raw provider event.
step_name: StepNameThe step that finished.
subagent_run_id: Option<SubagentRunId>The subagent that closes the step; absent means the parent agent. A
JSON null is rejected — see crate::event::subagent. Must match
the owner that opened it, as on StepStartedEvent.
Implementations§
Trait Implementations§
Source§impl Clone for StepFinishedEvent
impl Clone for StepFinishedEvent
Source§fn clone(&self) -> StepFinishedEvent
fn clone(&self) -> StepFinishedEvent
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 StepFinishedEvent
impl ComposeSchema for StepFinishedEvent
Source§impl Debug for StepFinishedEvent
impl Debug for StepFinishedEvent
Source§impl Default for StepFinishedEvent
impl Default for StepFinishedEvent
Source§fn default() -> StepFinishedEvent
fn default() -> StepFinishedEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StepFinishedEvent
impl<'de> Deserialize<'de> for StepFinishedEvent
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<StepFinishedEvent> for Event
impl From<StepFinishedEvent> for Event
Source§fn from(payload: StepFinishedEvent) -> Self
fn from(payload: StepFinishedEvent) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for StepFinishedEvent
impl JsonSchema for StepFinishedEvent
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 StepFinishedEvent
impl PartialEq for StepFinishedEvent
Source§fn eq(&self, other: &StepFinishedEvent) -> bool
fn eq(&self, other: &StepFinishedEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StepFinishedEvent
impl Serialize for StepFinishedEvent
impl StructuralPartialEq for StepFinishedEvent
Auto Trait Implementations§
impl Freeze for StepFinishedEvent
impl RefUnwindSafe for StepFinishedEvent
impl Send for StepFinishedEvent
impl Sync for StepFinishedEvent
impl Unpin for StepFinishedEvent
impl UnsafeUnpin for StepFinishedEvent
impl UnwindSafe for StepFinishedEvent
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