Enum rust_ocpp::v1_6::types::UnlockStatus
source · pub enum UnlockStatus {
Unlocked,
UnlockFailed,
NotSupported,
}
Variants§
Unlocked
From OCPP Specification
Connector has successfully been unlocked.
UnlockFailed
From OCPP Specification
Failed to unlock the connector: The Charge Point has tried to unlock the connector and has detected that the connector is still locked or the unlock mechanism failed.
NotSupported
From OCPP Specification
Charge Point has no connector lock, or ConnectorId is unknown.
Trait Implementations§
source§impl Clone for UnlockStatus
impl Clone for UnlockStatus
source§fn clone(&self) -> UnlockStatus
fn clone(&self) -> UnlockStatus
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 UnlockStatus
impl Debug for UnlockStatus
source§impl Default for UnlockStatus
impl Default for UnlockStatus
source§fn default() -> UnlockStatus
fn default() -> UnlockStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UnlockStatus
impl<'de> Deserialize<'de> for UnlockStatus
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<UnlockStatus> for UnlockStatus
impl PartialEq<UnlockStatus> for UnlockStatus
source§fn eq(&self, other: &UnlockStatus) -> bool
fn eq(&self, other: &UnlockStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.