pub struct CompilationInput {
pub tenant_id: String,
pub scenario_id: String,
pub version: u32,
pub execution_graph: ExecutionGraph,
pub debug_mode: bool,
pub child_scenarios: Vec<ChildScenarioInput>,
pub connection_service_url: Option<String>,
}Expand description
Input for compilation (all data pre-loaded, no DB access needed).
This struct contains everything needed to compile a workflow to a native binary. The caller is responsible for loading all required data (including child scenarios) before calling compilation functions.
Fields§
§tenant_id: StringTenant ID for multi-tenant isolation.
scenario_id: StringUnique scenario identifier.
version: u32Version number for this scenario.
execution_graph: ExecutionGraphThe workflow’s execution graph definition.
debug_mode: boolWhether to enable debug mode (additional logging).
child_scenarios: Vec<ChildScenarioInput>Pre-loaded child scenarios (empty if none).
connection_service_url: Option<String>URL for fetching connections at runtime. If provided, generated code will fetch connections from this service. Expected endpoint: GET {url}/{tenant_id}/{connection_id}
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompilationInput
impl RefUnwindSafe for CompilationInput
impl Send for CompilationInput
impl Sync for CompilationInput
impl Unpin for CompilationInput
impl UnwindSafe for CompilationInput
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