pub struct PauseRequest {
pub kind: String,
pub data: Value,
pub state: Value,
}Expand description
A request from a node to pause the run (e.g. waiting for a human).
Fields§
§kind: StringMachine-readable kind, e.g. human_input.
data: ValueDetails shown to the host (form schema, prompt…).
state: ValueState handed back to the node in Resume::state.
Trait Implementations§
Source§impl Clone for PauseRequest
impl Clone for PauseRequest
Source§impl Debug for PauseRequest
impl Debug for PauseRequest
Source§impl PartialEq for PauseRequest
impl PartialEq for PauseRequest
impl StructuralPartialEq for PauseRequest
Auto Trait Implementations§
impl Forget for PauseRequest
impl Freeze for PauseRequest
impl Move for PauseRequest
impl RefUnwindSafe for PauseRequest
impl Send for PauseRequest
impl Sync for PauseRequest
impl Unpin for PauseRequest
impl UnsafeUnpin for PauseRequest
impl UnwindSafe for PauseRequest
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