#[non_exhaustive]pub enum Unit {
Show 50 variants
Wh,
J,
M3,
Kg,
W,
JPerH,
M3PerH,
M3PerMin,
M3PerS,
KgPerH,
Celsius,
Kelvin,
Bar,
Seconds,
Minutes,
Hours,
Days,
Months,
Years,
Volt,
Ampere,
Hertz,
Percent,
Fahrenheit,
Calorie,
CubicFeet,
UsGallon,
UsGallonPerMin,
UsGallonPerH,
VoltAmpere,
Var,
VaH,
VarH,
Degree,
Dbm,
Currency,
Baud,
BitTimes,
Ppm,
Ppb,
MicrogramPerM3,
PerM3,
Lux,
Candela,
WattPerM2,
MetrePerS,
Dba,
Fnu,
Ph,
Millimetre,
}Expand description
A unit of a quantity.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Wh
Watt-hour.
J
Joule.
M3
Cubic metre.
Kg
Kilogram.
W
Watt.
JPerH
Joule per hour.
M3PerH
Cubic metre per hour.
M3PerMin
Cubic metre per minute.
M3PerS
Cubic metre per second.
KgPerH
Kilogram per hour.
Celsius
Degree Celsius.
Kelvin
Kelvin.
Bar
Bar.
Seconds
Second.
Minutes
Minute.
Hours
Hour.
Days
Day.
Months
Month (calendar).
Years
Year (calendar).
Volt
Volt.
Ampere
Ampere.
Hertz
Hertz.
Percent
Percent (relative humidity).
Fahrenheit
Degree Fahrenheit.
Calorie
Calorie.
CubicFeet
Cubic foot.
UsGallon
US gallon.
UsGallonPerMin
US gallon per minute.
UsGallonPerH
US gallon per hour.
VoltAmpere
Volt-ampere (apparent power).
Var
Volt-ampere reactive (reactive power).
VaH
Volt-ampere hour (apparent energy).
VarH
Volt-ampere reactive hour (reactive energy).
Degree
Degree of angle (phase).
Dbm
Decibel-milliwatt (signal level).
Currency
Units of the local legal currency.
Baud
Baud.
BitTimes
Bit times (response delay).
Ppm
Parts per million.
Ppb
Parts per billion.
MicrogramPerM3
Microgram per cubic metre.
PerM3
Count per cubic metre.
Lux
Lux.
Candela
Candela.
WattPerM2
Watt per square metre.
MetrePerS
Metre per second.
Dba
A-weighted decibel.
Fnu
Formazin nephelometric unit (turbidity).
Ph
pH.
Millimetre
Millimetre.