Struct dsntk_model::AuthorityRequirement
source · pub struct AuthorityRequirement { /* private fields */ }Expand description
The class AuthorityRequirement is used to model an authority requirement, as represented by an arrow drawn with a dashed line and a filled circular head in a DRD
Implementations§
source§impl AuthorityRequirement
impl AuthorityRequirement
Returns reference to optional KnowledgeSource.
sourcepub fn required_decision(&self) -> &Option<HRef>
pub fn required_decision(&self) -> &Option<HRef>
Returns reference to optional Decision.
sourcepub fn required_input(&self) -> &Option<HRef>
pub fn required_input(&self) -> &Option<HRef>
Returns reference to optional InputData.
Trait Implementations§
source§impl Clone for AuthorityRequirement
impl Clone for AuthorityRequirement
source§fn clone(&self) -> AuthorityRequirement
fn clone(&self) -> AuthorityRequirement
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 AuthorityRequirement
impl Debug for AuthorityRequirement
source§impl DmnElement for AuthorityRequirement
impl DmnElement for AuthorityRequirement
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 AuthorityRequirement
impl RefUnwindSafe for AuthorityRequirement
impl Send for AuthorityRequirement
impl Sync for AuthorityRequirement
impl Unpin for AuthorityRequirement
impl UnwindSafe for AuthorityRequirement
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)