Struct dsntk_model::LiteralExpression
source · pub struct LiteralExpression { /* private fields */ }Expand description
LiteralExpression is used to model a value expression whose value is specified by text in some specified expression language.
Implementations§
Trait Implementations§
source§impl Clone for LiteralExpression
impl Clone for LiteralExpression
source§fn clone(&self) -> LiteralExpression
fn clone(&self) -> LiteralExpression
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 LiteralExpression
impl Debug for LiteralExpression
source§impl DmnElement for LiteralExpression
impl DmnElement for LiteralExpression
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 LiteralExpression
impl Expression for LiteralExpression
source§impl PartialEq for LiteralExpression
impl PartialEq for LiteralExpression
source§fn eq(&self, other: &LiteralExpression) -> bool
fn eq(&self, other: &LiteralExpression) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for LiteralExpression
impl StructuralEq for LiteralExpression
impl StructuralPartialEq for LiteralExpression
Auto Trait Implementations§
impl RefUnwindSafe for LiteralExpression
impl Send for LiteralExpression
impl Sync for LiteralExpression
impl Unpin for LiteralExpression
impl UnwindSafe for LiteralExpression
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.