pub struct PendingRequest {
pub request_id: String,
pub purpose: HumanPurpose,
pub mode: Option<HumanMode>,
pub prompt: String,
pub presents: Value,
pub decisions: Option<Vec<String>>,
pub output_schema: Option<JsonSchemaDocument>,
pub deadline_at_ms: Option<u64>,
pub run_path: RunPath,
}Expand description
One unanswered human request, reconstructed from the ledger (the
humanRequested payload plus its pairing state).
Fields§
§request_id: StringThe id a response must pair with.
purpose: HumanPurposeStep vs supervision gate (R13).
mode: Option<HumanMode>Interaction mode (purpose = step only).
prompt: StringThe prompt shown to the human.
presents: ValueThe materialized exhibits.
decisions: Option<Vec<String>>Confirm labels, when the mode declares them.
output_schema: Option<JsonSchemaDocument>The provideInput contract, when the mode declares one.
deadline_at_ms: Option<u64>Absolute response deadline (ms); absent for supervision gates.
run_path: RunPathThe awaiting/gated step’s run path.
Trait Implementations§
Source§impl Clone for PendingRequest
impl Clone for PendingRequest
Source§fn clone(&self) -> PendingRequest
fn clone(&self) -> PendingRequest
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 PendingRequest
impl RefUnwindSafe for PendingRequest
impl Send for PendingRequest
impl Sync for PendingRequest
impl Unpin for PendingRequest
impl UnsafeUnpin for PendingRequest
impl UnwindSafe for PendingRequest
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