Enum dmntk_feel::FunctionBody
source · pub enum FunctionBody {
Context(Arc<Evaluator>),
LiteralExpression(Arc<Evaluator>),
DecisionTable(Arc<Evaluator>),
FunctionDefinition(Arc<Evaluator>),
Invocation(Arc<Evaluator>),
Relation(Arc<Evaluator>),
DecisionService(Arc<Evaluator>),
External(Arc<Evaluator>),
}
Expand description
Function body may be defined multiple ways using FEEL
or DMN
.
This enum is the representation of all of these cases.
Variants§
Context(Arc<Evaluator>)
Function body created from context defined in DMN
model.
LiteralExpression(Arc<Evaluator>)
Function body created from FEEL
textual expression defined in DMN
model.
DecisionTable(Arc<Evaluator>)
Function body created from decision table defined in DMN
model.
FunctionDefinition(Arc<Evaluator>)
Function body created from function definition defined in DMN
model.
Invocation(Arc<Evaluator>)
Function body created from invocation defined in DMN
model.
Relation(Arc<Evaluator>)
Function body created from relation defined in DMN
model.
DecisionService(Arc<Evaluator>)
Function body created from decision service defined in DMN
model.
External(Arc<Evaluator>)
Function body created from externally defined function in Java
or PMML
.
Implementations§
Trait Implementations§
source§impl Clone for FunctionBody
impl Clone for FunctionBody
source§fn clone(&self) -> FunctionBody
fn clone(&self) -> FunctionBody
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FunctionBody
impl Debug for FunctionBody
Auto Trait Implementations§
impl Freeze for FunctionBody
impl !RefUnwindSafe for FunctionBody
impl Send for FunctionBody
impl Sync for FunctionBody
impl Unpin for FunctionBody
impl !UnwindSafe for FunctionBody
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