pub enum ChargingRateUnitType {
W,
A,
}
Expand description
Unit in which a charging schedule is defined, as used in: GetCompositeSchedule.req and ChargingSchedule
Variants
W
Watts (power). This is the TOTAL allowed charging power. If used for AC Charging, the phase current should be calculated via: Current per phase = Power / (Line Voltage * Number of Phases). The “Line Voltage” used in the calculation is not the measured voltage, but the set voltage for the area (hence, 230 of 110 volt). The “Number of Phases” is the numberPhases from the ChargingSchedulePeriod. It is usually more convenient to use this for DC charging. Note that if numberPhases in a ChargingSchedulePeriod is absent, 3 SHALL be assumed.
A
Amperes (current). The amount of Ampere per phase, not the sum of all phases. It is usually more convenient to use this for AC charging.
Trait Implementations
sourceimpl Clone for ChargingRateUnitType
impl Clone for ChargingRateUnitType
sourcefn clone(&self) -> ChargingRateUnitType
fn clone(&self) -> ChargingRateUnitType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChargingRateUnitType
impl Debug for ChargingRateUnitType
sourceimpl<'de> Deserialize<'de> for ChargingRateUnitType
impl<'de> Deserialize<'de> for ChargingRateUnitType
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for ChargingRateUnitType
impl Serialize for ChargingRateUnitType
impl StructuralPartialEq for ChargingRateUnitType
Auto Trait Implementations
impl RefUnwindSafe for ChargingRateUnitType
impl Send for ChargingRateUnitType
impl Sync for ChargingRateUnitType
impl Unpin for ChargingRateUnitType
impl UnwindSafe for ChargingRateUnitType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more