Struct dsntk_model::List
source · pub struct List { /* private fields */ }Expand description
A List is simply a list of elements, which are instances of Expressions.
Implementations§
Trait Implementations§
source§impl DmnElement for List
impl DmnElement for List
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 Expression for List
impl Expression for List
source§impl PartialEq for List
impl PartialEq for List
impl StructuralPartialEq for List
Auto Trait Implementations§
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnwindSafe for List
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