Skip to main content

EngineeringUnits

Struct EngineeringUnits 

Source
pub struct EngineeringUnits(/* private fields */);
Expand description

BACnet engineering units (Clause 21).

Values 0-255 and 47808-49999 are reserved for ASHRAE; 256-47807 and 50000-65535 may be used by vendors (Clause 23).

Implementations§

Source§

impl EngineeringUnits

Source

pub const METERS_PER_SECOND_PER_SECOND: Self

Source

pub const SQUARE_METERS: Self

Source

pub const SQUARE_CENTIMETERS: Self

Source

pub const SQUARE_FEET: Self

Source

pub const SQUARE_INCHES: Self

Source

pub const CURRENCY1: Self

Source

pub const CURRENCY2: Self

Source

pub const CURRENCY3: Self

Source

pub const CURRENCY4: Self

Source

pub const CURRENCY5: Self

Source

pub const CURRENCY6: Self

Source

pub const CURRENCY7: Self

Source

pub const CURRENCY8: Self

Source

pub const CURRENCY9: Self

Source

pub const CURRENCY10: Self

Source

pub const MILLIAMPERES: Self

Source

pub const AMPERES: Self

Source

pub const AMPERES_PER_METER: Self

Source

pub const AMPERES_PER_SQUARE_METER: Self

Source

pub const AMPERE_SQUARE_METERS: Self

Source

pub const DECIBELS: Self

Source

pub const DECIBELS_MILLIVOLT: Self

Source

pub const DECIBELS_VOLT: Self

Source

pub const FARADS: Self

Source

pub const HENRYS: Self

Source

pub const OHMS: Self

Source

pub const OHM_METER_SQUARED_PER_METER: Self

Source

pub const OHM_METERS: Self

Source

pub const MILLIOHMS: Self

Source

pub const KILOHMS: Self

Source

pub const MEGOHMS: Self

Source

pub const MICROSIEMENS: Self

Source

pub const MILLISIEMENS: Self

Source

pub const SIEMENS: Self

Source

pub const SIEMENS_PER_METER: Self

Source

pub const TESLAS: Self

Source

pub const VOLTS: Self

Source

pub const MILLIVOLTS: Self

Source

pub const KILOVOLTS: Self

Source

pub const MEGAVOLTS: Self

Source

pub const VOLT_AMPERES: Self

Source

pub const KILOVOLT_AMPERES: Self

Source

pub const MEGAVOLT_AMPERES: Self

Source

pub const VOLT_AMPERES_REACTIVE: Self

Source

pub const KILOVOLT_AMPERES_REACTIVE: Self

Source

pub const MEGAVOLT_AMPERES_REACTIVE: Self

Source

pub const VOLTS_PER_DEGREE_KELVIN: Self

Source

pub const VOLTS_PER_METER: Self

Source

pub const DEGREES_PHASE: Self

Source

pub const POWER_FACTOR: Self

Source

pub const WEBERS: Self

Source

pub const AMPERE_SECONDS: Self

Source

pub const VOLT_AMPERE_HOURS: Self

Source

pub const KILOVOLT_AMPERE_HOURS: Self

Source

pub const MEGAVOLT_AMPERE_HOURS: Self

Source

pub const VOLT_AMPERE_HOURS_REACTIVE: Self

Source

pub const KILOVOLT_AMPERE_HOURS_REACTIVE: Self

Source

pub const MEGAVOLT_AMPERE_HOURS_REACTIVE: Self

Source

pub const VOLT_SQUARE_HOURS: Self

Source

pub const AMPERE_SQUARE_HOURS: Self

Source

pub const JOULES: Self

Source

pub const KILOJOULES: Self

Source

pub const KILOJOULES_PER_KILOGRAM: Self

Source

pub const MEGAJOULES: Self

Source

pub const WATT_HOURS: Self

Source

pub const KILOWATT_HOURS: Self

Source

pub const MEGAWATT_HOURS: Self

Source

pub const WATT_HOURS_REACTIVE: Self

Source

pub const KILOWATT_HOURS_REACTIVE: Self

Source

pub const MEGAWATT_HOURS_REACTIVE: Self

Source

pub const BTUS: Self

Source

pub const KILO_BTUS: Self

Source

pub const MEGA_BTUS: Self

Source

pub const THERMS: Self

Source

pub const TON_HOURS: Self

Source

pub const JOULES_PER_KILOGRAM_DRY_AIR: Self

Source

pub const KILOJOULES_PER_KILOGRAM_DRY_AIR: Self

Source

pub const MEGAJOULES_PER_KILOGRAM_DRY_AIR: Self

Source

pub const BTUS_PER_POUND_DRY_AIR: Self

Source

pub const BTUS_PER_POUND: Self

Source

pub const JOULES_PER_DEGREE_KELVIN: Self

Source

pub const KILOJOULES_PER_DEGREE_KELVIN: Self

Source

pub const MEGAJOULES_PER_DEGREE_KELVIN: Self

Source

pub const JOULES_PER_KILOGRAM_DEGREE_KELVIN: Self

Source

pub const NEWTON: Self

Source

pub const CYCLES_PER_HOUR: Self

Source

pub const CYCLES_PER_MINUTE: Self

Source

pub const HERTZ: Self

Source

pub const KILOHERTZ: Self

Source

pub const MEGAHERTZ: Self

Source

pub const PER_HOUR: Self

Source

pub const GRAMS_OF_WATER_PER_KILOGRAM_DRY_AIR: Self

Source

pub const PERCENT_RELATIVE_HUMIDITY: Self

Source

pub const MICROMETERS: Self

Source

pub const MILLIMETERS: Self

Source

pub const CENTIMETERS: Self

Source

pub const KILOMETERS: Self

Source

pub const METERS: Self

Source

pub const INCHES: Self

Source

pub const FEET: Self

Source

pub const CANDELAS: Self

Source

pub const CANDELAS_PER_SQUARE_METER: Self

Source

pub const WATTS_PER_SQUARE_FOOT: Self

Source

pub const WATTS_PER_SQUARE_METER: Self

Source

pub const LUMENS: Self

Source

pub const LUXES: Self

Source

pub const FOOT_CANDLES: Self

Source

pub const MILLIGRAMS: Self

Source

pub const GRAMS: Self

Source

pub const KILOGRAMS: Self

Source

pub const POUNDS_MASS: Self

Source

pub const TONS: Self

Source

pub const GRAMS_PER_SECOND: Self

Source

pub const GRAMS_PER_MINUTE: Self

Source

pub const KILOGRAMS_PER_SECOND: Self

Source

pub const KILOGRAMS_PER_MINUTE: Self

Source

pub const KILOGRAMS_PER_HOUR: Self

Source

pub const POUNDS_MASS_PER_SECOND: Self

Source

pub const POUNDS_MASS_PER_MINUTE: Self

Source

pub const POUNDS_MASS_PER_HOUR: Self

Source

pub const TONS_PER_HOUR: Self

Source

pub const MILLIWATTS: Self

Source

pub const WATTS: Self

Source

pub const KILOWATTS: Self

Source

pub const MEGAWATTS: Self

Source

pub const BTUS_PER_HOUR: Self

Source

pub const KILO_BTUS_PER_HOUR: Self

Source

pub const JOULE_PER_HOURS: Self

Source

pub const HORSEPOWER: Self

Source

pub const TONS_REFRIGERATION: Self

Source

pub const PASCALS: Self

Source

pub const HECTOPASCALS: Self

Source

pub const KILOPASCALS: Self

Source

pub const MILLIBARS: Self

Source

pub const BARS: Self

Source

pub const POUNDS_FORCE_PER_SQUARE_INCH: Self

Source

pub const MILLIMETERS_OF_WATER: Self

Source

pub const CENTIMETERS_OF_WATER: Self

Source

pub const INCHES_OF_WATER: Self

Source

pub const MILLIMETERS_OF_MERCURY: Self

Source

pub const CENTIMETERS_OF_MERCURY: Self

Source

pub const INCHES_OF_MERCURY: Self

Source

pub const DEGREES_CELSIUS: Self

Source

pub const DEGREES_KELVIN: Self

Source

pub const DEGREES_KELVIN_PER_HOUR: Self

Source

pub const DEGREES_KELVIN_PER_MINUTE: Self

Source

pub const DEGREES_FAHRENHEIT: Self

Source

pub const DEGREE_DAYS_CELSIUS: Self

Source

pub const DEGREE_DAYS_FAHRENHEIT: Self

Source

pub const DELTA_DEGREES_FAHRENHEIT: Self

Source

pub const DELTA_DEGREES_KELVIN: Self

Source

pub const YEARS: Self

Source

pub const MONTHS: Self

Source

pub const WEEKS: Self

Source

pub const DAYS: Self

Source

pub const HOURS: Self

Source

pub const MINUTES: Self

Source

pub const SECONDS: Self

Source

pub const HUNDREDTHS_SECONDS: Self

Source

pub const MILLISECONDS: Self

Source

pub const NEWTON_METERS: Self

Source

pub const MILLIMETERS_PER_SECOND: Self

Source

pub const MILLIMETERS_PER_MINUTE: Self

Source

pub const METERS_PER_SECOND: Self

Source

pub const METERS_PER_MINUTE: Self

Source

pub const METERS_PER_HOUR: Self

Source

pub const KILOMETERS_PER_HOUR: Self

Source

pub const FEET_PER_SECOND: Self

Source

pub const FEET_PER_MINUTE: Self

Source

pub const MILES_PER_HOUR: Self

Source

pub const CUBIC_FEET: Self

Source

pub const CUBIC_METERS: Self

Source

pub const IMPERIAL_GALLONS: Self

Source

pub const MILLILITERS: Self

Source

pub const LITERS: Self

Source

pub const US_GALLONS: Self

Source

pub const CUBIC_FEET_PER_SECOND: Self

Source

pub const CUBIC_FEET_PER_MINUTE: Self

Source

pub const MILLION_STANDARD_CUBIC_FEET_PER_MINUTE: Self

Source

pub const CUBIC_FEET_PER_HOUR: Self

Source

pub const CUBIC_FEET_PER_DAY: Self

Source

pub const STANDARD_CUBIC_FEET_PER_DAY: Self

Source

pub const MILLION_STANDARD_CUBIC_FEET_PER_DAY: Self

Source

pub const THOUSAND_CUBIC_FEET_PER_DAY: Self

Source

pub const THOUSAND_STANDARD_CUBIC_FEET_PER_DAY: Self

Source

pub const POUNDS_MASS_PER_DAY: Self

Source

pub const CUBIC_METERS_PER_SECOND: Self

Source

pub const CUBIC_METERS_PER_MINUTE: Self

Source

pub const CUBIC_METERS_PER_HOUR: Self

Source

pub const CUBIC_METERS_PER_DAY: Self

Source

pub const IMPERIAL_GALLONS_PER_MINUTE: Self

Source

pub const MILLILITERS_PER_SECOND: Self

Source

pub const LITERS_PER_SECOND: Self

Source

pub const LITERS_PER_MINUTE: Self

Source

pub const LITERS_PER_HOUR: Self

Source

pub const US_GALLONS_PER_MINUTE: Self

Source

pub const US_GALLONS_PER_HOUR: Self

Source

pub const DEGREES_ANGULAR: Self

Source

pub const DEGREES_CELSIUS_PER_HOUR: Self

Source

pub const DEGREES_CELSIUS_PER_MINUTE: Self

Source

pub const DEGREES_FAHRENHEIT_PER_HOUR: Self

Source

pub const DEGREES_FAHRENHEIT_PER_MINUTE: Self

Source

pub const JOULE_SECONDS: Self

Source

pub const KILOGRAMS_PER_CUBIC_METER: Self

Source

pub const KILOWATT_HOURS_PER_SQUARE_METER: Self

Source

pub const KILOWATT_HOURS_PER_SQUARE_FOOT: Self

Source

pub const WATT_HOURS_PER_CUBIC_METER: Self

Source

pub const JOULES_PER_CUBIC_METER: Self

Source

pub const MEGAJOULES_PER_SQUARE_METER: Self

Source

pub const MEGAJOULES_PER_SQUARE_FOOT: Self

Source

pub const MOLE_PERCENT: Self

Source

pub const NO_UNITS: Self

Source

pub const NEWTON_SECONDS: Self

Source

pub const NEWTONS_PER_METER: Self

Source

pub const PARTS_PER_MILLION: Self

Source

pub const PARTS_PER_BILLION: Self

Source

pub const PASCAL_SECONDS: Self

Source

pub const PERCENT: Self

Source

pub const PERCENT_OBSCURATION_PER_FOOT: Self

Source

pub const PERCENT_OBSCURATION_PER_METER: Self

Source

pub const PERCENT_PER_SECOND: Self

Source

pub const PER_MINUTE: Self

Source

pub const PER_SECOND: Self

Source

pub const PSI_PER_DEGREE_FAHRENHEIT: Self

Source

pub const RADIANS: Self

Source

pub const RADIANS_PER_SECOND: Self

Source

pub const REVOLUTIONS_PER_MINUTE: Self

Source

pub const SQUARE_METERS_PER_NEWTON: Self

Source

pub const WATTS_PER_METER_PER_DEGREE_KELVIN: Self

Source

pub const WATTS_PER_SQUARE_METER_DEGREE_KELVIN: Self

Source

pub const PER_MILLE: Self

Source

pub const GRAMS_PER_GRAM: Self

Source

pub const KILOGRAMS_PER_KILOGRAM: Self

Source

pub const GRAMS_PER_KILOGRAM: Self

Source

pub const MILLIGRAMS_PER_GRAM: Self

Source

pub const MILLIGRAMS_PER_KILOGRAM: Self

Source

pub const GRAMS_PER_MILLILITER: Self

Source

pub const GRAMS_PER_LITER: Self

Source

pub const MILLIGRAMS_PER_LITER: Self

Source

pub const MICROGRAMS_PER_LITER: Self

Source

pub const GRAMS_PER_CUBIC_METER: Self

Source

pub const MILLIGRAMS_PER_CUBIC_METER: Self

Source

pub const MICROGRAMS_PER_CUBIC_METER: Self

Source

pub const NANOGRAMS_PER_CUBIC_METER: Self

Source

pub const GRAMS_PER_CUBIC_CENTIMETER: Self

Source

pub const BECQUERELS: Self

Source

pub const KILOBECQUERELS: Self

Source

pub const MEGABECQUERELS: Self

Source

pub const GRAY: Self

Source

pub const MILLIGRAY: Self

Source

pub const MICROGRAY: Self

Source

pub const SIEVERTS: Self

Source

pub const MILLISIEVERTS: Self

Source

pub const MICROSIEVERTS: Self

Source

pub const MICROSIEVERTS_PER_HOUR: Self

Source

pub const MILLIREMS: Self

Source

pub const MILLIREMS_PER_HOUR: Self

Source

pub const DECIBELS_A: Self

Source

pub const NEPHELOMETRIC_TURBIDITY_UNIT: Self

Source

pub const PH: Self

Source

pub const GRAMS_PER_SQUARE_METER: Self

Source

pub const MINUTES_PER_DEGREE_KELVIN: Self

Source

pub const DEGREES_LOVIBOND: Self

Source

pub const ALCOHOL_BY_VOLUME: Self

Source

pub const INTERNATIONAL_BITTERING_UNITS: Self

Source

pub const EUROPEAN_BITTERNESS_UNITS: Self

Source

pub const DEGREES_PLATO: Self

Source

pub const SPECIFIC_GRAVITY: Self

Source

pub const EUROPEAN_BREWING_CONVENTION: Self

Source

pub const ALL_NAMED: &[(&str, Self)]

All named constants as (name, value) pairs.

Source

pub const fn from_raw(value: u32) -> Self

Create from a raw wire value.

Source

pub const fn to_raw(self) -> u32

Return the raw wire value.

Trait Implementations§

Source§

impl Clone for EngineeringUnits

Source§

fn clone(&self) -> EngineeringUnits

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EngineeringUnits

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for EngineeringUnits

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for EngineeringUnits

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for EngineeringUnits

Source§

fn eq(&self, other: &EngineeringUnits) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for EngineeringUnits

Source§

impl Eq for EngineeringUnits

Source§

impl StructuralPartialEq for EngineeringUnits

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.