pub struct StepStartedEvent {
pub base: BaseEvent,
pub step_name: String,
}Expand description
Event indicating that a step has started.
This event is sent when a specific named step within a run begins execution. Steps allow tracking progress through multi-stage agent workflows.
Fields§
§base: BaseEventCommon event fields (timestamp, rawEvent).
step_name: StringName of the step that started.
Implementations§
Source§impl StepStartedEvent
impl StepStartedEvent
Sourcepub fn new(step_name: impl Into<String>) -> StepStartedEvent
pub fn new(step_name: impl Into<String>) -> StepStartedEvent
Creates a new StepStartedEvent.
Sourcepub fn with_timestamp(self, timestamp: f64) -> StepStartedEvent
pub fn with_timestamp(self, timestamp: f64) -> StepStartedEvent
Sets the timestamp for this event.
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 · 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 StepStartedEvent
impl Debug for StepStartedEvent
Source§impl<'de> Deserialize<'de> for StepStartedEvent
impl<'de> Deserialize<'de> for StepStartedEvent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StepStartedEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StepStartedEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StepStartedEvent
impl PartialEq for StepStartedEvent
Source§impl Serialize for StepStartedEvent
impl Serialize for StepStartedEvent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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§
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