pub struct EvaluateServiceResponse {
pub service_id: String,
pub outputs: Option<Value>,
pub decisions: Vec<EvaluatedDecisionSummary>,
pub missing_inputs: Option<Vec<String>>,
pub shadowed_variables: Option<Vec<String>>,
pub unmapped_inputs: Option<Vec<String>>,
}Fields§
§service_id: String§outputs: Option<Value>One <outputDecision> returns that decision’s value directly; several return an object keyed by each one’s <variable name>.
decisions: Vec<EvaluatedDecisionSummary>Every decision that ran, in topological order – the audit trail of a DRD run, and the only way to see why an output came out as it did when several tables fed into it.
missing_inputs: Option<Vec<String>>Declared <inputData> that a decision in the closure required via a <requiredInput> edge but that the request did not supply. A warning, not an error: a missing name evaluates to null, exactly as everywhere else in this engine.
shadowed_variables: Option<Vec<String>>Bare output-column names that one decision’s result overwrote after an earlier decision (or the request) had already bound them. This is Flowable’s documented behaviour – one shared variable map, last write wins – kept for parity but reported rather than silent. The namespaced <variable name> binding is unaffected, so the shadowed value is still reachable.
unmapped_inputs: Option<Vec<String>>Implementations§
Source§impl EvaluateServiceResponse
impl EvaluateServiceResponse
pub fn new( service_id: String, outputs: Option<Value>, decisions: Vec<EvaluatedDecisionSummary>, ) -> EvaluateServiceResponse
Trait Implementations§
Source§impl Clone for EvaluateServiceResponse
impl Clone for EvaluateServiceResponse
Source§fn clone(&self) -> EvaluateServiceResponse
fn clone(&self) -> EvaluateServiceResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more