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 for ChargingProfileKindType
impl PartialEq 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 ==
.source§impl Serialize for ChargingProfileKindType
impl Serialize for ChargingProfileKindType
impl StructuralPartialEq for ChargingProfileKindType
Auto Trait Implementations§
impl Freeze for ChargingProfileKindType
impl RefUnwindSafe for ChargingProfileKindType
impl Send for ChargingProfileKindType
impl Sync for ChargingProfileKindType
impl Unpin for ChargingProfileKindType
impl UnwindSafe for ChargingProfileKindType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more