pub struct ValueAliasSet {
pub base: IdentifiedObject,
}Expand description
Describes the translation of a set of values into a name and is intendend to facilitate custom translations. Each ValueAliasSet has a name, description etc. A specific Measurement may represent a discrete state like Open, Closed, Intermediate etc. This requires a translation from the MeasurementValue.value number to a string, e.g. 0->‘Invalid’, 1->‘Open’, 2->‘Closed’, 3->‘Intermediate’. Each ValueToAlias member in ValueAliasSet.Value describe a mapping for one particular value to a name.
Fields§
§base: IdentifiedObjectImplementations§
Source§impl ValueAliasSet
impl ValueAliasSet
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl CimElement for ValueAliasSet
impl CimElement for ValueAliasSet
Source§impl Clone for ValueAliasSet
impl Clone for ValueAliasSet
Source§fn clone(&self) -> ValueAliasSet
fn clone(&self) -> ValueAliasSet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ValueAliasSet
impl Debug for ValueAliasSet
Source§impl Default for ValueAliasSet
impl Default for ValueAliasSet
Source§fn default() -> ValueAliasSet
fn default() -> ValueAliasSet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValueAliasSet
impl<'de> Deserialize<'de> for ValueAliasSet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ValueAliasSet
impl RefUnwindSafe for ValueAliasSet
impl Send for ValueAliasSet
impl Sync for ValueAliasSet
impl Unpin for ValueAliasSet
impl UnsafeUnpin for ValueAliasSet
impl UnwindSafe for ValueAliasSet
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