pub struct BusinessKnowledgeModel { /* private fields */ }
Expand description
A business knowledge model has an abstract part, representing reusable, invocable decision logic, and a concrete part, which mandates that the decision logic must be a single FEEL boxed function definition.
Implementations§
Source§impl BusinessKnowledgeModel
impl BusinessKnowledgeModel
Sourcepub fn encapsulated_logic(&self) -> &Option<FunctionDefinition>
pub fn encapsulated_logic(&self) -> &Option<FunctionDefinition>
Returns reference to a variable for this BusinessKnowledgeModel.
Sourcepub fn knowledge_requirements(&self) -> &Vec<KnowledgeRequirement>
pub fn knowledge_requirements(&self) -> &Vec<KnowledgeRequirement>
Returns reference to the collection of instances of KnowledgeRequirement that compose this BusinessKnowledgeModel.
Returns reference to the collection of instances of AuthorityRequirement that compose this BusinessKnowledgeModel.
Trait Implementations§
Source§impl Clone for BusinessKnowledgeModel
impl Clone for BusinessKnowledgeModel
Source§fn clone(&self) -> BusinessKnowledgeModel
fn clone(&self) -> BusinessKnowledgeModel
Returns a duplicate 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 BusinessKnowledgeModel
impl Debug for BusinessKnowledgeModel
Source§impl DmnElement for BusinessKnowledgeModel
impl DmnElement for BusinessKnowledgeModel
Source§fn id(&self) -> &String
fn id(&self) -> &String
Returns a reference to identifier for this DmnElement.
This identifier SHALL be unique within its containing Definitions element.
Source§fn opt_id(&self) -> Option<&String>
fn opt_id(&self) -> Option<&String>
Returns a reference to optional identifier for this DmnElement.
Source§fn description(&self) -> &Option<String>
fn description(&self) -> &Option<String>
Returns reference to optional description of this DmnElement.
Source§fn label(&self) -> &Option<String>
fn label(&self) -> &Option<String>
Returns reference to optional alternative short description of this DmnElement.
Source§fn extension_elements(&self) -> &Vec<ExtensionElement>
fn extension_elements(&self) -> &Vec<ExtensionElement>
Returns reference to attached additional elements to any DmnElement.
Source§fn extension_attributes(&self) -> &Vec<ExtensionAttribute>
fn extension_attributes(&self) -> &Vec<ExtensionAttribute>
Returns reference to attached named extended attributes and model associations to any DmnElement.
Source§impl RequiredVariable for BusinessKnowledgeModel
impl RequiredVariable for BusinessKnowledgeModel
Source§fn variable(&self) -> &InformationItem
fn variable(&self) -> &InformationItem
Returns reference to a variable for this BusinessKnowledgeModel.
Auto Trait Implementations§
impl Freeze for BusinessKnowledgeModel
impl RefUnwindSafe for BusinessKnowledgeModel
impl Send for BusinessKnowledgeModel
impl Sync for BusinessKnowledgeModel
impl Unpin for BusinessKnowledgeModel
impl UnwindSafe for BusinessKnowledgeModel
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