pub fn add_missing(
files: &[File<'_>],
prefer: &str,
id: &str,
key: &str,
) -> Option<Addition>Expand description
Add field key to object id, which writes it nowhere: in the file
(prefer first) whose profile carries it and that writes the object,
after its last field, with a value to type over — the object’s mRID for
IdentifiedObject.mRID, false, 0, an enumeration’s first value, or
none. None if a file writes it already, its class does not declare
it, or no file fits.