pub struct ExecuteScriptRequest<'a> {
pub registry: &'a ScriptRegistry,
pub context_factory: &'a Arc<dyn ContextFactory>,
pub telemetry: &'a Arc<dyn TelemetrySink>,
pub script_name: &'a str,
pub actor_json: &'a Value,
pub params_json: Value,
pub job_name: &'a str,
pub run_id: &'a str,
}Expand description
Inputs for a single script execution attempt.
Fields§
§registry: &'a ScriptRegistryScript registry containing the target handler.
context_factory: &'a Arc<dyn ContextFactory>Factory that rebuilds ScriptContext from stored actor JSON.
telemetry: &'a Arc<dyn TelemetrySink>Sink for executor metrics and error events.
script_name: &'a strRegistered script name to invoke.
actor_json: &'a ValueActor JSON persisted on the job at schedule time.
params_json: ValueRun-specific parameters JSON.
job_name: &'a strHuman-readable job name for telemetry.
run_id: &'a strRun identifier for telemetry correlation.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ExecuteScriptRequest<'a>
impl<'a> !UnwindSafe for ExecuteScriptRequest<'a>
impl<'a> Freeze for ExecuteScriptRequest<'a>
impl<'a> Send for ExecuteScriptRequest<'a>
impl<'a> Sync for ExecuteScriptRequest<'a>
impl<'a> Unpin for ExecuteScriptRequest<'a>
impl<'a> UnsafeUnpin for ExecuteScriptRequest<'a>
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