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 for ChargingProfilePurposeType
impl PartialEq 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 ==
.impl StructuralPartialEq for ChargingProfilePurposeType
Auto Trait Implementations§
impl Freeze for ChargingProfilePurposeType
impl RefUnwindSafe for ChargingProfilePurposeType
impl Send for ChargingProfilePurposeType
impl Sync for ChargingProfilePurposeType
impl Unpin for ChargingProfilePurposeType
impl UnwindSafe for ChargingProfilePurposeType
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