pub struct Decision { /* private fields */ }
Expand description
Implementations§
Source§impl Decision
impl Decision
Sourcepub fn question(&self) -> &Option<String>
pub fn question(&self) -> &Option<String>
Returns a reference to a natural language question that characterizes the Decision.
Sourcepub fn allowed_answers(&self) -> &Option<String>
pub fn allowed_answers(&self) -> &Option<String>
Returns a reference to a natural language description of the answers allowed for the question defined in this Decision.
Sourcepub fn variable(&self) -> &InformationItem
pub fn variable(&self) -> &InformationItem
Return a reference to a variable that stores the result of this Decision.
Sourcepub fn decision_logic(&self) -> &Option<ExpressionInstance>
pub fn decision_logic(&self) -> &Option<ExpressionInstance>
Returns a reference to optional Expression.
Sourcepub fn information_requirements(&self) -> &Vec<InformationRequirement>
pub fn information_requirements(&self) -> &Vec<InformationRequirement>
Returns a reference to collection of InformationRequirement.
Sourcepub fn knowledge_requirements(&self) -> &Vec<KnowledgeRequirement>
pub fn knowledge_requirements(&self) -> &Vec<KnowledgeRequirement>
Returns a reference to collection of KnowledgeRequirement.
Returns a reference to collection of AuthorityRequirement.
Trait Implementations§
Source§impl DmnElement for Decision
impl DmnElement for Decision
Source§fn model_name(&self) -> &str
fn model_name(&self) -> &str
Name of the model the element was defined in.
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.
Auto Trait Implementations§
impl Freeze for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnwindSafe for Decision
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