pub enum Reason {
DeAuthorized,
EmergencyStop,
EVDisconnected,
HardReset,
Local,
Other,
PowerLoss,
Reboot,
Remote,
SoftReset,
UnlockCommand,
}
Expand description
Reason for stopping a transaction in StopTransactionRequest
Variants§
DeAuthorized
The transaction was stopped because of the authorization status in a StartTransaction.conf
EmergencyStop
Emergency stop button was used.
EVDisconnected
disconnecting of cable, vehicle moved away from inductive charge unit.
HardReset
A hard reset command was received.
Local
Stopped locally on request of the user at the Charge Point. This is a regular termination of a transaction. Examples: presenting an RFID tag, pressing a button to stop.
Other
Any other reason.
PowerLoss
Complete loss of power.
Reboot
A locally initiated reset/reboot occurred. (for instance watchdog kicked in)
Remote
Stopped remotely on request of the user. This is a regular termination of a transaction. Examples: termination using a smartphone app, exceeding a (non local) prepaid credit.
SoftReset
A soft reset command was received.
UnlockCommand
Central System sent an Unlock Connector command.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Reason
impl<'de> Deserialize<'de> for Reason
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>,
impl StructuralPartialEq for Reason
Auto Trait Implementations§
impl Freeze for Reason
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnwindSafe for Reason
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)