pub struct HostExecutorPrepareResult {
pub parsed_input: Value,
pub canonical_input: Value,
pub provider: String,
pub idempotency_ttl_ms: u64,
}Expand description
The result of preparing a host-executor call: parsed input, canonical
(effect) input, and provider metadata. The runtime writes the canonical
input to effect-input.json, emits effectAttempted, and then passes the
parsed input to execute_host_executor.
Fields§
§parsed_input: ValueInput after executor-specific parsing/validation (feeds execute_host_executor).
canonical_input: ValueCanonical, deterministic form of the effect input (feeds effect-input.json
and the inputHash in effectAttempted).
provider: StringProvider identifier for the effectAttempted event (e.g. "feishu-im").
idempotency_ttl_ms: u64Idempotency TTL in milliseconds for the effectAttempted event.
Trait Implementations§
Source§impl Clone for HostExecutorPrepareResult
impl Clone for HostExecutorPrepareResult
Source§fn clone(&self) -> HostExecutorPrepareResult
fn clone(&self) -> HostExecutorPrepareResult
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 HostExecutorPrepareResult
impl RefUnwindSafe for HostExecutorPrepareResult
impl Send for HostExecutorPrepareResult
impl Sync for HostExecutorPrepareResult
impl Unpin for HostExecutorPrepareResult
impl UnsafeUnpin for HostExecutorPrepareResult
impl UnwindSafe for HostExecutorPrepareResult
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