Enum rust_ocpp::v1_6::types::ChargingProfileKindType
source · pub enum ChargingProfileKindType {
Absolute,
Recurring,
Relative,
}Variants§
Absolute
Schedule periods are relative to a fixed point in time defined in the schedule.
Recurring
The schedule restarts periodically at the first schedule period.
Relative
Schedule periods are relative to a situation-specific start point (such as the start of a Transaction) that is determined by the charge point.
Trait Implementations§
source§impl Clone for ChargingProfileKindType
impl Clone for ChargingProfileKindType
source§fn clone(&self) -> ChargingProfileKindType
fn clone(&self) -> ChargingProfileKindType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ChargingProfileKindType
impl Debug for ChargingProfileKindType
source§impl Default for ChargingProfileKindType
impl Default for ChargingProfileKindType
source§fn default() -> ChargingProfileKindType
fn default() -> ChargingProfileKindType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ChargingProfileKindType
impl<'de> Deserialize<'de> for ChargingProfileKindType
source§fn 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
source§impl PartialEq<ChargingProfileKindType> for ChargingProfileKindType
impl PartialEq<ChargingProfileKindType> for ChargingProfileKindType
source§fn eq(&self, other: &ChargingProfileKindType) -> bool
fn eq(&self, other: &ChargingProfileKindType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.