Skip to main content

units

Function units 

Source
pub fn units() -> &'static [&'static str]
Expand description

Every unit of measure eventPayloadDescriptor.units enumerates.

Generated from units.schema.yaml, so Unit cannot quietly fall behind the Alliance’s list. A unit outside it is legal — the Definitions permit private strings — and is reported as Unit::Private rather than refused.