Enum rust_ocpp::v1_6::types::Measurand

source ·
pub enum Measurand {
Show 22 variants CurrentExport, CurrentImport, CurrentOffered, EnergyActiveExportRegister, EnergyActiveImportRegister, EnergyReactiveExportRegister, EnergyReactiveImportRegister, EnergyActiveExportInterval, EnergyActiveImportInterval, EnergyReactiveExportInterval, EnergyReactiveImportInterval, Frequency, PowerActiveExport, PowerActiveImport, PowerFactor, PowerOffered, PowerReactiveExport, PowerReactiveImport, Rpm, SoC, Temperature, Voltage,
}
Expand description

Allowable values of the optional “measurand” field of a Value element, as used in MeterValuesRequest and StopTransaction.req messages. Default value of “measurand” is always “Energy.Active.Import.Register”

Variants§

§

CurrentExport

Instantaneous current flow from EV

§

CurrentImport

Instantaneous current flow to EV

§

CurrentOffered

Maximum current offered to EV

§

EnergyActiveExportRegister

Numerical value read from the “active electrical energy” (Wh or kWh) register of the (most authoritative) electrical meter measuring energy exported (to the grid).

§

EnergyActiveImportRegister

Numerical value read from the “active electrical energy” (Wh or kWh) register of the (most authoritative) electrical meter measuring energy imported (from the grid supply).

§

EnergyReactiveExportRegister

Numerical value read from the “reactive electrical energy” (VARh or kVARh) register of the (most authoritative) electrical meter measuring energy exported (to the grid).

§

EnergyReactiveImportRegister

Numerical value read from the “reactive electrical energy” (VARh or kVARh) register of the (most authoritative) electrical meter measuring energy imported (from the grid supply).

§

EnergyActiveExportInterval

Absolute amount of “active electrical energy” (Wh or kWh) exported (to the grid) during an associated time “interval”, specified by a Metervalues ReadingContext, and applicable interval duration configuration values (in seconds) for “ClockAlignedDataInterval” and “MeterValueSampleInterval”.

§

EnergyActiveImportInterval

Absolute amount of “active electrical energy” (Wh or kWh) imported (from the grid supply) during an associated time “interval”, specified by a Metervalues ReadingContext, and applicable interval duration configuration values (in seconds) for “ClockAlignedDataInterval” and “MeterValueSampleInterval”.

§

EnergyReactiveExportInterval

Absolute amount of “reactive electrical energy” (VARh or kVARh) exported (to the grid) during an associated time “interval”, specified by a Metervalues ReadingContext, and applicable interval duration configuration values (in seconds) for “ClockAlignedDataInterval” and “MeterValueSampleInterval”.

§

EnergyReactiveImportInterval

Absolute amount of “reactive electrical energy” (VARh or kVARh) imported (from the grid supply) during an associated time “interval”, specified by a Metervalues ReadingContext, and applicable interval duration configuration values (in seconds) for “ClockAlignedDataInterval” and “MeterValueSampleInterval”.

§

Frequency

Instantaneous reading of powerline frequency. NOTE: OCPP 1.6 does not have a UnitOfMeasure for frequency, the UnitOfMeasure for any SampledValue with measurand: Frequency is Hertz.

§

PowerActiveExport

Instantaneous active power exported by EV. (W or kW)

§

PowerActiveImport

Instantaneous active power imported by EV. (W or kW)

§

PowerFactor

Instantaneous power factor of total energy flow

§

PowerOffered

Maximum power offered to EV

§

PowerReactiveExport

Instantaneous reactive power exported by EV. (var or kvar)

§

PowerReactiveImport

Instantaneous reactive power imported by EV. (var or kvar)

§

Rpm

Fan speed in RPM

§

SoC

State of charge of charging vehicle in percentage

§

Temperature

Temperature reading inside Charge Point.

§

Voltage

Instantaneous AC RMS supply voltage

Trait Implementations§

source§

impl Clone for Measurand

source§

fn clone(&self) -> Measurand

Returns a copy 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 Measurand

source§

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

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

impl Default for Measurand

source§

fn default() -> Measurand

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Measurand

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for Measurand

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Measurand

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for Measurand

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> 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,

§

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, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,