pub enum ChargePointStatus {
Available,
Preparing,
Charging,
SuspendedEVSE,
SuspendedEV,
Finishing,
Reserved,
Unavailable,
Faulted,
}
Expand description
Status reported in StatusNotification.req. A status can be reported for the Charge Point main controller (connectorId = 0) or for a specific connector. Status for the Charge Point main controller is a subset of the enumeration: Available, Unavailable or Faulted. States considered Operative are: Available, Preparing, Charging, SuspendedEVSE, SuspendedEV, Finishing, Reserved. States considered Inoperative are: Unavailable, Faulted.
Variants
Available
When a Connector becomes available for a new user (Operative)
Preparing
When a Connector becomes no longer available for a new user but there is no ongoing Transaction (yet). Typically a Connector is in preparing state when a user presents a tag, inserts a cable or a vehicle occupies the parking bay 6 (Operative)
Charging
When the contactor of a Connector closes, allowing the vehicle to charge (Operative)
SuspendedEVSE
When the EV is connected to the EVSE but the EVSE is not offering energy to the EV, e.g. due to a smart charging restriction, local supply power constraints, or as the result of StartTransaction.conf indicating that charging is not allowed etc. (Operative)
SuspendedEV
When the EV is connected to the EVSE and the EVSE is offering energy but the EV is not taking any energy. (Operative)
Finishing
When a Transaction has stopped at a Connector, but the Connector is not yet available for a new user, e.g. the cable has not been removed or the vehicle has not left the parking bay (Operative)
Reserved
When a Connector becomes reserved as a result of a Reserve Now command (Operative)
Unavailable
When a Connector becomes unavailable as the result of a Change Availability command or an event upon which the Charge Point transitions to unavailable at its discretion. Upon receipt of a Change Availability command, the status MAY change immediately or the change MAY be scheduled. When scheduled, the Status Notification shall be send when the availability change becomes effective (Inoperative).
Faulted
When a Charge Point or connector has reported an error and is not available for energy delivery, (Inoperative)
Trait Implementations
sourceimpl Clone for ChargePointStatus
impl Clone for ChargePointStatus
sourcefn clone(&self) -> ChargePointStatus
fn clone(&self) -> ChargePointStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChargePointStatus
impl Debug for ChargePointStatus
sourceimpl<'de> Deserialize<'de> for ChargePointStatus
impl<'de> Deserialize<'de> for ChargePointStatus
sourcefn 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
sourceimpl Serialize for ChargePointStatus
impl Serialize for ChargePointStatus
impl StructuralPartialEq for ChargePointStatus
Auto Trait Implementations
impl RefUnwindSafe for ChargePointStatus
impl Send for ChargePointStatus
impl Sync for ChargePointStatus
impl Unpin for ChargePointStatus
impl UnwindSafe for ChargePointStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more