Skip to main content

deterministic_mrid

Function deterministic_mrid 

Source
pub fn deterministic_mrid(namespace: &str, kind: &str, name: &str) -> String
Expand description

A UUID version 5 identifier for kind:name under namespace, a URL naming the adapter that writes it. Same inputs give the same id, so a canonical write is byte stable and two writes of one case diff only where the case changed. The CGMES and distribution CIM writers derive their ids the same way under their own namespaces.