pub struct PauseReason {
pub frame: FrameId,
pub node_id: Option<String>,
pub kind: String,
pub data: Value,
}Expand description
Why a run or node paused.
Fields§
§frame: FrameIdFrame of the node that requested the pause (empty for external pauses).
node_id: Option<String>Node that requested the pause, if any.
kind: StringMachine-readable kind, e.g. human_input, external, approval.
data: ValueFree-form details (form definition, message, …).
Trait Implementations§
Source§impl Clone for PauseReason
impl Clone for PauseReason
Source§impl Debug for PauseReason
impl Debug for PauseReason
Source§impl<'de> Deserialize<'de> for PauseReason
impl<'de> Deserialize<'de> for PauseReason
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 PartialEq for PauseReason
impl PartialEq for PauseReason
Source§impl Serialize for PauseReason
impl Serialize for PauseReason
impl StructuralPartialEq for PauseReason
Auto Trait Implementations§
impl Forget for PauseReason
impl Freeze for PauseReason
impl Move for PauseReason
impl RefUnwindSafe for PauseReason
impl Send for PauseReason
impl Sync for PauseReason
impl Unpin for PauseReason
impl UnsafeUnpin for PauseReason
impl UnwindSafe for PauseReason
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