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 duplicate 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 for UnlockStatus
impl PartialEq for UnlockStatus
Source§impl Serialize for UnlockStatus
impl Serialize for UnlockStatus
impl StructuralPartialEq for UnlockStatus
Auto Trait Implementations§
impl Freeze for UnlockStatus
impl RefUnwindSafe for UnlockStatus
impl Send for UnlockStatus
impl Sync for UnlockStatus
impl Unpin for UnlockStatus
impl UnwindSafe for UnlockStatus
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