Struct dsntk_model::InformationRequirement
source · pub struct InformationRequirement { /* private fields */ }Expand description
The class InformationRequirement is used to model an information requirement, as represented by a plain arrow in a DRD.
Implementations§
source§impl InformationRequirement
impl InformationRequirement
sourcepub fn required_decision(&self) -> &Option<HRef>
pub fn required_decision(&self) -> &Option<HRef>
Returns reference to optional URI pointing a Decision.
sourcepub fn required_input(&self) -> &Option<HRef>
pub fn required_input(&self) -> &Option<HRef>
Returns reference to optional URI pointing an InputData.
Trait Implementations§
source§impl Clone for InformationRequirement
impl Clone for InformationRequirement
source§fn clone(&self) -> InformationRequirement
fn clone(&self) -> InformationRequirement
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 InformationRequirement
impl Debug for InformationRequirement
source§impl DmnElement for InformationRequirement
impl DmnElement for InformationRequirement
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 InformationRequirement
impl RefUnwindSafe for InformationRequirement
impl Send for InformationRequirement
impl Sync for InformationRequirement
impl Unpin for InformationRequirement
impl UnwindSafe for InformationRequirement
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)