pub struct IdentifiedObject {
pub id: String,
pub description: String,
pub energy_ident_code_eic: String,
pub m_rid: String,
pub name: String,
pub short_name: String,
}Expand description
This is a root class to provide common identification for all classes needing identification and naming attributes.
Fields§
§id: String§description: StringThe description is a free human readable text describing or naming the object. It may be non unique and may not correlate to a naming hierarchy.
energy_ident_code_eic: StringThe attribute is used for an exchange of the EIC code (Energy identification Code). The length of the string is 16 characters as defined by the EIC code. For details on EIC scheme please refer to ENTSO-E web site.
m_rid: StringMaster resource identifier issued by a model authority. The mRID is unique within an exchange context. Global uniqueness is easily achieved by using a UUID, as specified in RFC 4122, for the mRID. The use of UUID is strongly recommended. For CIMXML data files in RDF syntax conforming to IEC 61970-552, the mRID is mapped to rdf:ID or rdf:about attributes that identify CIM object elements.
name: StringThe name is any free human readable and possibly non unique text naming the object.
short_name: StringThe attribute is used for an exchange of a human readable short name with length of the string 12 characters maximum.
Implementations§
Source§impl IdentifiedObject
impl IdentifiedObject
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl CimElement for IdentifiedObject
impl CimElement for IdentifiedObject
Source§impl Clone for IdentifiedObject
impl Clone for IdentifiedObject
Source§fn clone(&self) -> IdentifiedObject
fn clone(&self) -> IdentifiedObject
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more