pub struct StepObservation {
pub flow_id: Uuid,
pub run_id: String,
pub task: String,
pub status: FlowStepStatus,
pub child_session_key: Option<String>,
pub result_json: Option<Value>,
}Expand description
Record step observation from an externally-driven task. Used in mirrored
mode: the host sees a task event on NATS (or another bus), translates it
to a StepObservation, and feeds it to the manager so the flow’s
flow_steps view stays in sync without owning task creation.
Fields§
§flow_id: Uuid§run_id: String§task: String§status: FlowStepStatus§child_session_key: Option<String>§result_json: Option<Value>Trait Implementations§
Source§impl Clone for StepObservation
impl Clone for StepObservation
Source§fn clone(&self) -> StepObservation
fn clone(&self) -> StepObservation
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 moreAuto Trait Implementations§
impl Freeze for StepObservation
impl RefUnwindSafe for StepObservation
impl Send for StepObservation
impl Sync for StepObservation
impl Unpin for StepObservation
impl UnsafeUnpin for StepObservation
impl UnwindSafe for StepObservation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more