Enum dsntk_model::DmnId
source · pub enum DmnId {
Provided(String),
Generated(String),
}Expand description
DmnId defines possible types of unique identifiers in model. Specification defines this identifier as optional, but this implementation makes it mandatory, just for simplicity. When this identifier is not provided in the model, a new unique UUID identifier is generated. This SHALL not be conflicting with any other identifiers.
Variants§
Provided(String)
Identifier was provided in model.
Generated(String)
Identifier was generated during parsing (not provided in model).
Trait Implementations§
source§impl PartialEq for DmnId
impl PartialEq for DmnId
impl Eq for DmnId
impl StructuralEq for DmnId
impl StructuralPartialEq for DmnId
Auto Trait Implementations§
impl RefUnwindSafe for DmnId
impl Send for DmnId
impl Sync for DmnId
impl Unpin for DmnId
impl UnwindSafe for DmnId
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.