pub struct DecisionService { /* private fields */ }
Expand description
The DecisionService class is used to define named decision services against the decision model contained in an instance of Definitions.
Implementations§
Source§impl DecisionService
impl DecisionService
Sourcepub fn input_decisions(&self) -> &Vec<HRef>
pub fn input_decisions(&self) -> &Vec<HRef>
Returns a reference to collection of references to input Decisions for this DecisionService.
Sourcepub fn encapsulated_decisions(&self) -> &Vec<HRef>
pub fn encapsulated_decisions(&self) -> &Vec<HRef>
Returns a reference to collection of references to encapsulated Decisions for this DecisionService.
Sourcepub fn output_decisions(&self) -> &Vec<HRef>
pub fn output_decisions(&self) -> &Vec<HRef>
Returns a reference to collection of references to output Decisions for this DecisionService.
Sourcepub fn input_data(&self) -> &Vec<HRef>
pub fn input_data(&self) -> &Vec<HRef>
Returns a reference to collection of references to InputData for this DecisionService.
Trait Implementations§
Source§impl Clone for DecisionService
impl Clone for DecisionService
Source§fn clone(&self) -> DecisionService
fn clone(&self) -> DecisionService
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 DecisionService
impl Debug for DecisionService
Source§impl DmnElement for DecisionService
impl DmnElement for DecisionService
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.
Source§impl NamedElement for DecisionService
impl NamedElement for DecisionService
Source§impl RequiredVariable for DecisionService
impl RequiredVariable for DecisionService
Source§fn variable(&self) -> &InformationItem
fn variable(&self) -> &InformationItem
Returns reference to a variable for this DecisionService.
Auto Trait Implementations§
impl Freeze for DecisionService
impl RefUnwindSafe for DecisionService
impl Send for DecisionService
impl Sync for DecisionService
impl Unpin for DecisionService
impl UnwindSafe for DecisionService
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