pub enum ReasonEnum {
Show 20 variants
DeAuthorized,
EmergencyStop,
EnergyLimitReached,
EVDisconnected,
GroundFault,
ImmediateReset,
MasterPass,
Local,
LocalOutOfCredit,
Other,
OvercurrentFault,
PowerLoss,
PowerQuality,
Reboot,
Remote,
SOCLimitReached,
StoppedByEV,
TimeLimitReached,
Timeout,
ReqEnergyTransferRejected,
}Expand description
The stoppedReason is the reason/event that initiated the process of stopping the transaction. It will normally be the user stopping authorization via card (Local or MasterPass) or app (Remote), but it can also be CSMS revoking authorization (DeAuthorized), or disconnecting the EV when TxStopPoint = EVConnected (EVDisconnected). Most other reasons are related to technical faults or energy limitations. + MAY only be omitted when stoppedReason is “Local”
Variants§
DeAuthorized
EmergencyStop
EnergyLimitReached
EVDisconnected
GroundFault
ImmediateReset
MasterPass
Local
LocalOutOfCredit
Other
OvercurrentFault
PowerLoss
PowerQuality
Reboot
Remote
SOCLimitReached
StoppedByEV
TimeLimitReached
Timeout
ReqEnergyTransferRejected
Trait Implementations§
Source§impl Clone for ReasonEnum
impl Clone for ReasonEnum
Source§fn clone(&self) -> ReasonEnum
fn clone(&self) -> ReasonEnum
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReasonEnum
impl Debug for ReasonEnum
impl Eq for ReasonEnum
Source§impl PartialEq for ReasonEnum
impl PartialEq for ReasonEnum
impl StructuralPartialEq for ReasonEnum
Auto Trait Implementations§
impl Freeze for ReasonEnum
impl RefUnwindSafe for ReasonEnum
impl Send for ReasonEnum
impl Sync for ReasonEnum
impl Unpin for ReasonEnum
impl UnsafeUnpin for ReasonEnum
impl UnwindSafe for ReasonEnum
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