Enum rust_ocpp::v1_6::types::ChargingProfilePurposeType
source · pub enum ChargingProfilePurposeType {
ChargePointMaxProfile,
TxDefaultProfile,
TxProfile,
}
Variants§
ChargePointMaxProfile
Configuration for the maximum power or current available for an entire Charge Point.
TxDefaultProfile
Default profile *that can be configured in the Charge Point. When a new transaction is started, this profile SHALL be used, unless it was a transaction that was started by a RemoteStartTransaction.req with a ChargeProfile that is accepted by the Charge Point.
TxProfile
Profile with constraints to be imposed by the Charge Point on the current transaction, or on a new transaction when this is started via a RemoteStartTransaction.req with a ChargeProfile. A profile with this purpose SHALL cease to be valid when the transaction terminates.
Trait Implementations§
source§impl Clone for ChargingProfilePurposeType
impl Clone for ChargingProfilePurposeType
source§fn clone(&self) -> ChargingProfilePurposeType
fn clone(&self) -> ChargingProfilePurposeType
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 ChargingProfilePurposeType
impl Debug for ChargingProfilePurposeType
source§impl Default for ChargingProfilePurposeType
impl Default for ChargingProfilePurposeType
source§fn default() -> ChargingProfilePurposeType
fn default() -> ChargingProfilePurposeType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ChargingProfilePurposeType
impl<'de> Deserialize<'de> for ChargingProfilePurposeType
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<ChargingProfilePurposeType> for ChargingProfilePurposeType
impl PartialEq<ChargingProfilePurposeType> for ChargingProfilePurposeType
source§fn eq(&self, other: &ChargingProfilePurposeType) -> bool
fn eq(&self, other: &ChargingProfilePurposeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.