pub enum IdStyle {
Auto,
RdfId,
RdfAbout,
}Expand description
How to identify objects in the output.
IEC 61970-552 distinguishes the file that introduces an object (rdf:ID) from one
that adds to it (rdf:about); the RDFS marks a class a profile only refers to with
cims:stereotype Description.
Variants§
Auto
Decide per object from the schema (the default).
rdf:ID when some profile in the write set defines the class
(ClassDef::defined_in), rdf:about
otherwise. Per class, not per file: a Topology file writes TopologicalNode with
rdf:ID and Terminal with rdf:about.
RdfId
Force rdf:ID="_<uuid>" for every object.
RdfAbout
Force rdf:about="#_<uuid>" for every object.
Trait Implementations§
impl Copy for IdStyle
impl Eq for IdStyle
impl StructuralPartialEq for IdStyle
Auto Trait Implementations§
impl Forget for IdStyle
impl Freeze for IdStyle
impl Move for IdStyle
impl RefUnwindSafe for IdStyle
impl Send for IdStyle
impl Sync for IdStyle
impl Unpin for IdStyle
impl UnsafeUnpin for IdStyle
impl UnwindSafe for IdStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.