Enum rust_ocpp::v1_6::types::ChargePointStatus [−][src]
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
When a Connector becomes available for a new user (Operative)
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)
When the contactor of a Connector closes, allowing the vehicle to charge (Operative)
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)
When the EV is connected to the EVSE and the EVSE is offering energy but the EV is not taking any energy. (Operative)
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)
When a Connector becomes reserved as a result of a Reserve Now command (Operative)
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).
When a Charge Point or connector has reported an error and is not available for energy delivery, (Inoperative)
Trait Implementations
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
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
Mutably borrows from an owned value. Read more