pub enum MridForm {
Uuid,
Compact,
Opaque,
}Expand description
How an identifier was spelled in the document it came from.
“Is this a UUID” and “is it spelled as IEC 61970-552 requires” are different
questions: _1fa19c281c8f4e1eaad9e1cab70f923e (from a published CGMES 2.4.15 boundary
file) is a UUID with a urn:uuid: form; only its spelling deviates.
Variants§
Uuid
The hyphenated 8-4-4-4-12 form IEC 61970-552 requires.
Compact
Thirty-two hex digits with no hyphens: a UUID value, non-conforming spelling.
Opaque
Not a UUID at all. Kept verbatim.
Trait Implementations§
impl Copy for MridForm
impl Eq for MridForm
impl StructuralPartialEq for MridForm
Auto Trait Implementations§
impl Forget for MridForm
impl Freeze for MridForm
impl Move for MridForm
impl RefUnwindSafe for MridForm
impl Send for MridForm
impl Sync for MridForm
impl Unpin for MridForm
impl UnsafeUnpin for MridForm
impl UnwindSafe for MridForm
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.