Skip to main content

Module schema

Module schema 

Source
Expand description

Runtime schema metadata.

The generated code under crate::cgmes3 fills in the static tables declared here. Everything else in the crate — reader, writer, validator, typed views — is written against this interface, so a new CIM vintage is a regeneration rather than a rewrite.

Structs§

AttrDef
AttrId
Index of an attribute or association in Schema::attributes.
ClassDef
ClassId
Index of a class in Schema::classes.
DatatypeDef
DatatypeId
Index of a CIM datatype in Schema::datatypes.
EnumDef
EnumId
Index of an enumeration in Schema::enums.
EnumValueDef
EnumValueId
Index of an enumeration literal in Schema::enum_values.
NamespaceDef
NsId
Index of a namespace in Schema::namespaces.
ProfileDef
ProfileId
Index of a profile in Schema::profiles.
Schema
A complete CIM schema vintage.

Enums§

AttrKind
What an attribute holds.
Mult
Attribute cardinality as declared by cims:multiplicity.
Primitive
A CIM primitive type (IEC 61970-301).

Type Aliases§

ProfileMask
Set of profiles, as a bitmask over Schema::profiles.