Skip to main content

ocpp_kit/v1_6/
enums.rs

1// @generated by `cargo xtask codegen` from the vendored OCPP JSON schemas.
2// DO NOT EDIT — re-run the generator instead. CI fails if this file is stale.
3
4//! Enumerations defined by OCPP 1.6, generated from the official JSON schemas.
5
6#![allow(unused_imports, clippy::doc_markdown, clippy::struct_excessive_bools)]
7#![allow(
8    clippy::too_many_lines,
9    clippy::too_many_arguments,
10    clippy::wildcard_imports
11)]
12#![allow(clippy::match_same_arms, clippy::fn_params_excessive_bools)]
13
14use alloc::string::String;
15use alloc::vec::Vec;
16
17use crate::ocpp_enum;
18
19ocpp_enum! {
20    /// The OCPP 1.6 `AuthorizationStatus` enumeration.
21    AuthorizationStatus {
22        /// `Accepted`.
23        Accepted = "Accepted",
24        /// `Blocked`.
25        Blocked = "Blocked",
26        /// `Expired`.
27        Expired = "Expired",
28        /// `Invalid`.
29        Invalid = "Invalid",
30        /// `ConcurrentTx`.
31        ConcurrentTx = "ConcurrentTx",
32    }
33}
34
35ocpp_enum! {
36    /// The OCPP 1.6 `AvailabilityStatus` enumeration.
37    AvailabilityStatus {
38        /// `Accepted`.
39        Accepted = "Accepted",
40        /// `Rejected`.
41        Rejected = "Rejected",
42        /// `Scheduled`.
43        Scheduled = "Scheduled",
44    }
45}
46
47ocpp_enum! {
48    /// The OCPP 1.6 `AvailabilityType` enumeration.
49    AvailabilityType {
50        /// `Inoperative`.
51        Inoperative = "Inoperative",
52        /// `Operative`.
53        Operative = "Operative",
54    }
55}
56
57ocpp_enum! {
58    /// The OCPP 1.6 `CancelReservationStatus` enumeration.
59    CancelReservationStatus {
60        /// `Accepted`.
61        Accepted = "Accepted",
62        /// `Rejected`.
63        Rejected = "Rejected",
64    }
65}
66
67ocpp_enum! {
68    /// The OCPP 1.6 `CertificateSignedStatus` enumeration.
69    CertificateSignedStatus {
70        /// `Accepted`.
71        Accepted = "Accepted",
72        /// `Rejected`.
73        Rejected = "Rejected",
74    }
75}
76
77ocpp_enum! {
78    /// The OCPP 1.6 `CertificateUse` enumeration.
79    CertificateUse {
80        /// `CentralSystemRootCertificate`.
81        CentralSystemRootCertificate = "CentralSystemRootCertificate",
82        /// `ManufacturerRootCertificate`.
83        ManufacturerRootCertificate = "ManufacturerRootCertificate",
84    }
85}
86
87ocpp_enum! {
88    /// The OCPP 1.6 `ChargePointErrorCode` enumeration.
89    ChargePointErrorCode {
90        /// `ConnectorLockFailure`.
91        ConnectorLockFailure = "ConnectorLockFailure",
92        /// `EVCommunicationError`.
93        EVCommunicationError = "EVCommunicationError",
94        /// `GroundFailure`.
95        GroundFailure = "GroundFailure",
96        /// `HighTemperature`.
97        HighTemperature = "HighTemperature",
98        /// `InternalError`.
99        InternalError = "InternalError",
100        /// `LocalListConflict`.
101        LocalListConflict = "LocalListConflict",
102        /// `NoError`.
103        NoError = "NoError",
104        /// `OtherError`.
105        OtherError = "OtherError",
106        /// `OverCurrentFailure`.
107        OverCurrentFailure = "OverCurrentFailure",
108        /// `PowerMeterFailure`.
109        PowerMeterFailure = "PowerMeterFailure",
110        /// `PowerSwitchFailure`.
111        PowerSwitchFailure = "PowerSwitchFailure",
112        /// `ReaderFailure`.
113        ReaderFailure = "ReaderFailure",
114        /// `ResetFailure`.
115        ResetFailure = "ResetFailure",
116        /// `UnderVoltage`.
117        UnderVoltage = "UnderVoltage",
118        /// `OverVoltage`.
119        OverVoltage = "OverVoltage",
120        /// `WeakSignal`.
121        WeakSignal = "WeakSignal",
122    }
123}
124
125ocpp_enum! {
126    /// The OCPP 1.6 `ChargePointStatus` enumeration.
127    ChargePointStatus {
128        /// `Available`.
129        Available = "Available",
130        /// `Preparing`.
131        Preparing = "Preparing",
132        /// `Charging`.
133        Charging = "Charging",
134        /// `SuspendedEVSE`.
135        SuspendedEVSE = "SuspendedEVSE",
136        /// `SuspendedEV`.
137        SuspendedEV = "SuspendedEV",
138        /// `Finishing`.
139        Finishing = "Finishing",
140        /// `Reserved`.
141        Reserved = "Reserved",
142        /// `Unavailable`.
143        Unavailable = "Unavailable",
144        /// `Faulted`.
145        Faulted = "Faulted",
146    }
147}
148
149ocpp_enum! {
150    /// The OCPP 1.6 `ChargingProfileKind` enumeration.
151    ChargingProfileKind {
152        /// `Absolute`.
153        Absolute = "Absolute",
154        /// `Recurring`.
155        Recurring = "Recurring",
156        /// `Relative`.
157        Relative = "Relative",
158    }
159}
160
161ocpp_enum! {
162    /// The OCPP 1.6 `ChargingProfilePurpose` enumeration.
163    ChargingProfilePurpose {
164        /// `ChargePointMaxProfile`.
165        ChargePointMaxProfile = "ChargePointMaxProfile",
166        /// `TxDefaultProfile`.
167        TxDefaultProfile = "TxDefaultProfile",
168        /// `TxProfile`.
169        TxProfile = "TxProfile",
170    }
171}
172
173ocpp_enum! {
174    /// The OCPP 1.6 `ChargingProfileStatus` enumeration.
175    ChargingProfileStatus {
176        /// `Accepted`.
177        Accepted = "Accepted",
178        /// `Rejected`.
179        Rejected = "Rejected",
180        /// `NotSupported`.
181        NotSupported = "NotSupported",
182    }
183}
184
185ocpp_enum! {
186    /// The OCPP 1.6 `ChargingRateUnit` enumeration.
187    ChargingRateUnit {
188        /// `A`.
189        A = "A",
190        /// `W`.
191        W = "W",
192    }
193}
194
195ocpp_enum! {
196    /// The OCPP 1.6 `ClearCacheStatus` enumeration.
197    ClearCacheStatus {
198        /// `Accepted`.
199        Accepted = "Accepted",
200        /// `Rejected`.
201        Rejected = "Rejected",
202    }
203}
204
205ocpp_enum! {
206    /// The OCPP 1.6 `ClearChargingProfileStatus` enumeration.
207    ClearChargingProfileStatus {
208        /// `Accepted`.
209        Accepted = "Accepted",
210        /// `Unknown`.
211        Unknown = "Unknown",
212    }
213}
214
215ocpp_enum! {
216    /// The OCPP 1.6 `ConfigurationStatus` enumeration.
217    ConfigurationStatus {
218        /// `Accepted`.
219        Accepted = "Accepted",
220        /// `Rejected`.
221        Rejected = "Rejected",
222        /// `RebootRequired`.
223        RebootRequired = "RebootRequired",
224        /// `NotSupported`.
225        NotSupported = "NotSupported",
226    }
227}
228
229ocpp_enum! {
230    /// The OCPP 1.6 `DataTransferStatus` enumeration.
231    DataTransferStatus {
232        /// `Accepted`.
233        Accepted = "Accepted",
234        /// `Rejected`.
235        Rejected = "Rejected",
236        /// `UnknownMessageId`.
237        UnknownMessageId = "UnknownMessageId",
238        /// `UnknownVendorId`.
239        UnknownVendorId = "UnknownVendorId",
240    }
241}
242
243ocpp_enum! {
244    /// The OCPP 1.6 `DeleteCertificateStatus` enumeration.
245    DeleteCertificateStatus {
246        /// `Accepted`.
247        Accepted = "Accepted",
248        /// `Failed`.
249        Failed = "Failed",
250        /// `NotFound`.
251        NotFound = "NotFound",
252    }
253}
254
255ocpp_enum! {
256    /// The OCPP 1.6 `DiagnosticsStatus` enumeration.
257    DiagnosticsStatus {
258        /// `Idle`.
259        Idle = "Idle",
260        /// `Uploaded`.
261        Uploaded = "Uploaded",
262        /// `UploadFailed`.
263        UploadFailed = "UploadFailed",
264        /// `Uploading`.
265        Uploading = "Uploading",
266    }
267}
268
269ocpp_enum! {
270    /// The OCPP 1.6 `ExtendedMessageTrigger` enumeration.
271    ExtendedMessageTrigger {
272        /// `BootNotification`.
273        BootNotification = "BootNotification",
274        /// `LogStatusNotification`.
275        LogStatusNotification = "LogStatusNotification",
276        /// `FirmwareStatusNotification`.
277        FirmwareStatusNotification = "FirmwareStatusNotification",
278        /// `Heartbeat`.
279        Heartbeat = "Heartbeat",
280        /// `MeterValues`.
281        MeterValues = "MeterValues",
282        /// `SignChargePointCertificate`.
283        SignChargePointCertificate = "SignChargePointCertificate",
284        /// `StatusNotification`.
285        StatusNotification = "StatusNotification",
286    }
287}
288
289ocpp_enum! {
290    /// The OCPP 1.6 `FirmwareStatus` enumeration.
291    FirmwareStatus {
292        /// `Downloaded`.
293        Downloaded = "Downloaded",
294        /// `DownloadFailed`.
295        DownloadFailed = "DownloadFailed",
296        /// `Downloading`.
297        Downloading = "Downloading",
298        /// `Idle`.
299        Idle = "Idle",
300        /// `InstallationFailed`.
301        InstallationFailed = "InstallationFailed",
302        /// `Installing`.
303        Installing = "Installing",
304        /// `Installed`.
305        Installed = "Installed",
306    }
307}
308
309ocpp_enum! {
310    /// The OCPP 1.6 `GenericStatus` enumeration.
311    GenericStatus {
312        /// `Accepted`.
313        Accepted = "Accepted",
314        /// `Rejected`.
315        Rejected = "Rejected",
316    }
317}
318
319ocpp_enum! {
320    /// The OCPP 1.6 `GetCompositeScheduleStatus` enumeration.
321    GetCompositeScheduleStatus {
322        /// `Accepted`.
323        Accepted = "Accepted",
324        /// `Rejected`.
325        Rejected = "Rejected",
326    }
327}
328
329ocpp_enum! {
330    /// The OCPP 1.6 `GetInstalledCertificateStatus` enumeration.
331    GetInstalledCertificateStatus {
332        /// `Accepted`.
333        Accepted = "Accepted",
334        /// `NotFound`.
335        NotFound = "NotFound",
336    }
337}
338
339ocpp_enum! {
340    /// The OCPP 1.6 `HashAlgorithm` enumeration.
341    HashAlgorithm {
342        /// `SHA256`.
343        SHA256 = "SHA256",
344        /// `SHA384`.
345        SHA384 = "SHA384",
346        /// `SHA512`.
347        SHA512 = "SHA512",
348    }
349}
350
351ocpp_enum! {
352    /// The OCPP 1.6 `InstallCertificateStatus` enumeration.
353    InstallCertificateStatus {
354        /// `Accepted`.
355        Accepted = "Accepted",
356        /// `Failed`.
357        Failed = "Failed",
358        /// `Rejected`.
359        Rejected = "Rejected",
360    }
361}
362
363ocpp_enum! {
364    /// The OCPP 1.6 `Location` enumeration.
365    Location {
366        /// `Cable`.
367        Cable = "Cable",
368        /// `EV`.
369        EV = "EV",
370        /// `Inlet`.
371        Inlet = "Inlet",
372        /// `Outlet`.
373        Outlet = "Outlet",
374        /// `Body`.
375        Body = "Body",
376    }
377}
378
379ocpp_enum! {
380    /// The OCPP 1.6 `LogStatus` enumeration.
381    LogStatus {
382        /// `Accepted`.
383        Accepted = "Accepted",
384        /// `Rejected`.
385        Rejected = "Rejected",
386        /// `AcceptedCanceled`.
387        AcceptedCanceled = "AcceptedCanceled",
388    }
389}
390
391ocpp_enum! {
392    /// The OCPP 1.6 `LogType` enumeration.
393    LogType {
394        /// `DiagnosticsLog`.
395        DiagnosticsLog = "DiagnosticsLog",
396        /// `SecurityLog`.
397        SecurityLog = "SecurityLog",
398    }
399}
400
401ocpp_enum! {
402    /// The OCPP 1.6 `Measurand` enumeration.
403    Measurand {
404        /// `Energy.Active.Export.Register`.
405        EnergyActiveExportRegister = "Energy.Active.Export.Register",
406        /// `Energy.Active.Import.Register`.
407        EnergyActiveImportRegister = "Energy.Active.Import.Register",
408        /// `Energy.Reactive.Export.Register`.
409        EnergyReactiveExportRegister = "Energy.Reactive.Export.Register",
410        /// `Energy.Reactive.Import.Register`.
411        EnergyReactiveImportRegister = "Energy.Reactive.Import.Register",
412        /// `Energy.Active.Export.Interval`.
413        EnergyActiveExportInterval = "Energy.Active.Export.Interval",
414        /// `Energy.Active.Import.Interval`.
415        EnergyActiveImportInterval = "Energy.Active.Import.Interval",
416        /// `Energy.Reactive.Export.Interval`.
417        EnergyReactiveExportInterval = "Energy.Reactive.Export.Interval",
418        /// `Energy.Reactive.Import.Interval`.
419        EnergyReactiveImportInterval = "Energy.Reactive.Import.Interval",
420        /// `Power.Active.Export`.
421        PowerActiveExport = "Power.Active.Export",
422        /// `Power.Active.Import`.
423        PowerActiveImport = "Power.Active.Import",
424        /// `Power.Offered`.
425        PowerOffered = "Power.Offered",
426        /// `Power.Reactive.Export`.
427        PowerReactiveExport = "Power.Reactive.Export",
428        /// `Power.Reactive.Import`.
429        PowerReactiveImport = "Power.Reactive.Import",
430        /// `Power.Factor`.
431        PowerFactor = "Power.Factor",
432        /// `Current.Import`.
433        CurrentImport = "Current.Import",
434        /// `Current.Export`.
435        CurrentExport = "Current.Export",
436        /// `Current.Offered`.
437        CurrentOffered = "Current.Offered",
438        /// `Voltage`.
439        Voltage = "Voltage",
440        /// `Frequency`.
441        Frequency = "Frequency",
442        /// `Temperature`.
443        Temperature = "Temperature",
444        /// `SoC`.
445        SoC = "SoC",
446        /// `RPM`.
447        RPM = "RPM",
448    }
449}
450
451ocpp_enum! {
452    /// The OCPP 1.6 `MessageTrigger` enumeration.
453    MessageTrigger {
454        /// `BootNotification`.
455        BootNotification = "BootNotification",
456        /// `DiagnosticsStatusNotification`.
457        DiagnosticsStatusNotification = "DiagnosticsStatusNotification",
458        /// `FirmwareStatusNotification`.
459        FirmwareStatusNotification = "FirmwareStatusNotification",
460        /// `Heartbeat`.
461        Heartbeat = "Heartbeat",
462        /// `MeterValues`.
463        MeterValues = "MeterValues",
464        /// `StatusNotification`.
465        StatusNotification = "StatusNotification",
466    }
467}
468
469ocpp_enum! {
470    /// The OCPP 1.6 `Phase` enumeration.
471    Phase {
472        /// `L1`.
473        L1 = "L1",
474        /// `L2`.
475        L2 = "L2",
476        /// `L3`.
477        L3 = "L3",
478        /// `N`.
479        N = "N",
480        /// `L1-N`.
481        L1N = "L1-N",
482        /// `L2-N`.
483        L2N = "L2-N",
484        /// `L3-N`.
485        L3N = "L3-N",
486        /// `L1-L2`.
487        L1L2 = "L1-L2",
488        /// `L2-L3`.
489        L2L3 = "L2-L3",
490        /// `L3-L1`.
491        L3L1 = "L3-L1",
492    }
493}
494
495ocpp_enum! {
496    /// The OCPP 1.6 `ReadingContext` enumeration.
497    ReadingContext {
498        /// `Interruption.Begin`.
499        InterruptionBegin = "Interruption.Begin",
500        /// `Interruption.End`.
501        InterruptionEnd = "Interruption.End",
502        /// `Sample.Clock`.
503        SampleClock = "Sample.Clock",
504        /// `Sample.Periodic`.
505        SamplePeriodic = "Sample.Periodic",
506        /// `Transaction.Begin`.
507        TransactionBegin = "Transaction.Begin",
508        /// `Transaction.End`.
509        TransactionEnd = "Transaction.End",
510        /// `Trigger`.
511        Trigger = "Trigger",
512        /// `Other`.
513        Other = "Other",
514    }
515}
516
517ocpp_enum! {
518    /// The OCPP 1.6 `Reason` enumeration.
519    Reason {
520        /// `EmergencyStop`.
521        EmergencyStop = "EmergencyStop",
522        /// `EVDisconnected`.
523        EVDisconnected = "EVDisconnected",
524        /// `HardReset`.
525        HardReset = "HardReset",
526        /// `Local`.
527        Local = "Local",
528        /// `Other`.
529        Other = "Other",
530        /// `PowerLoss`.
531        PowerLoss = "PowerLoss",
532        /// `Reboot`.
533        Reboot = "Reboot",
534        /// `Remote`.
535        Remote = "Remote",
536        /// `SoftReset`.
537        SoftReset = "SoftReset",
538        /// `UnlockCommand`.
539        UnlockCommand = "UnlockCommand",
540        /// `DeAuthorized`.
541        DeAuthorized = "DeAuthorized",
542    }
543}
544
545ocpp_enum! {
546    /// The OCPP 1.6 `RecurrencyKind` enumeration.
547    RecurrencyKind {
548        /// `Daily`.
549        Daily = "Daily",
550        /// `Weekly`.
551        Weekly = "Weekly",
552    }
553}
554
555ocpp_enum! {
556    /// The OCPP 1.6 `RegistrationStatus` enumeration.
557    RegistrationStatus {
558        /// `Accepted`.
559        Accepted = "Accepted",
560        /// `Pending`.
561        Pending = "Pending",
562        /// `Rejected`.
563        Rejected = "Rejected",
564    }
565}
566
567ocpp_enum! {
568    /// The OCPP 1.6 `RemoteStartStopStatus` enumeration.
569    RemoteStartStopStatus {
570        /// `Accepted`.
571        Accepted = "Accepted",
572        /// `Rejected`.
573        Rejected = "Rejected",
574    }
575}
576
577ocpp_enum! {
578    /// The OCPP 1.6 `ReservationStatus` enumeration.
579    ReservationStatus {
580        /// `Accepted`.
581        Accepted = "Accepted",
582        /// `Faulted`.
583        Faulted = "Faulted",
584        /// `Occupied`.
585        Occupied = "Occupied",
586        /// `Rejected`.
587        Rejected = "Rejected",
588        /// `Unavailable`.
589        Unavailable = "Unavailable",
590    }
591}
592
593ocpp_enum! {
594    /// The OCPP 1.6 `ResetStatus` enumeration.
595    ResetStatus {
596        /// `Accepted`.
597        Accepted = "Accepted",
598        /// `Rejected`.
599        Rejected = "Rejected",
600    }
601}
602
603ocpp_enum! {
604    /// The OCPP 1.6 `ResetType` enumeration.
605    ResetType {
606        /// `Hard`.
607        Hard = "Hard",
608        /// `Soft`.
609        Soft = "Soft",
610    }
611}
612
613ocpp_enum! {
614    /// The OCPP 1.6 `SignedFirmwareStatus` enumeration.
615    SignedFirmwareStatus {
616        /// `Downloaded`.
617        Downloaded = "Downloaded",
618        /// `DownloadFailed`.
619        DownloadFailed = "DownloadFailed",
620        /// `Downloading`.
621        Downloading = "Downloading",
622        /// `DownloadScheduled`.
623        DownloadScheduled = "DownloadScheduled",
624        /// `DownloadPaused`.
625        DownloadPaused = "DownloadPaused",
626        /// `Idle`.
627        Idle = "Idle",
628        /// `InstallationFailed`.
629        InstallationFailed = "InstallationFailed",
630        /// `Installing`.
631        Installing = "Installing",
632        /// `Installed`.
633        Installed = "Installed",
634        /// `InstallRebooting`.
635        InstallRebooting = "InstallRebooting",
636        /// `InstallScheduled`.
637        InstallScheduled = "InstallScheduled",
638        /// `InstallVerificationFailed`.
639        InstallVerificationFailed = "InstallVerificationFailed",
640        /// `InvalidSignature`.
641        InvalidSignature = "InvalidSignature",
642        /// `SignatureVerified`.
643        SignatureVerified = "SignatureVerified",
644    }
645}
646
647ocpp_enum! {
648    /// The OCPP 1.6 `TriggerMessageStatus` enumeration.
649    TriggerMessageStatus {
650        /// `Accepted`.
651        Accepted = "Accepted",
652        /// `Rejected`.
653        Rejected = "Rejected",
654        /// `NotImplemented`.
655        NotImplemented = "NotImplemented",
656    }
657}
658
659ocpp_enum! {
660    /// The OCPP 1.6 `UnitOfMeasure` enumeration.
661    UnitOfMeasure {
662        /// `A`.
663        A = "A",
664        /// `Celcius`.
665        Celcius = "Celcius",
666        /// `Celsius`.
667        Celsius = "Celsius",
668        /// `Fahrenheit`.
669        Fahrenheit = "Fahrenheit",
670        /// `Hertz`.
671        Hertz = "Hertz",
672        /// `K`.
673        K = "K",
674        /// `Percent`.
675        Percent = "Percent",
676        /// `V`.
677        V = "V",
678        /// `VA`.
679        VA = "VA",
680        /// `W`.
681        W = "W",
682        /// `Wh`.
683        Wh = "Wh",
684        /// `kVA`.
685        KVA = "kVA",
686        /// `kW`.
687        KW = "kW",
688        /// `kWh`.
689        KWh = "kWh",
690        /// `kvar`.
691        Kvar = "kvar",
692        /// `kvarh`.
693        Kvarh = "kvarh",
694        /// `var`.
695        Var = "var",
696        /// `varh`.
697        Varh = "varh",
698    }
699}
700
701ocpp_enum! {
702    /// The OCPP 1.6 `UnlockStatus` enumeration.
703    UnlockStatus {
704        /// `Unlocked`.
705        Unlocked = "Unlocked",
706        /// `UnlockFailed`.
707        UnlockFailed = "UnlockFailed",
708        /// `NotSupported`.
709        NotSupported = "NotSupported",
710    }
711}
712
713ocpp_enum! {
714    /// The OCPP 1.6 `UpdateFirmwareStatus` enumeration.
715    UpdateFirmwareStatus {
716        /// `Accepted`.
717        Accepted = "Accepted",
718        /// `Rejected`.
719        Rejected = "Rejected",
720        /// `AcceptedCanceled`.
721        AcceptedCanceled = "AcceptedCanceled",
722        /// `InvalidCertificate`.
723        InvalidCertificate = "InvalidCertificate",
724        /// `RevokedCertificate`.
725        RevokedCertificate = "RevokedCertificate",
726    }
727}
728
729ocpp_enum! {
730    /// The OCPP 1.6 `UpdateStatus` enumeration.
731    UpdateStatus {
732        /// `Accepted`.
733        Accepted = "Accepted",
734        /// `Failed`.
735        Failed = "Failed",
736        /// `NotSupported`.
737        NotSupported = "NotSupported",
738        /// `VersionMismatch`.
739        VersionMismatch = "VersionMismatch",
740    }
741}
742
743ocpp_enum! {
744    /// The OCPP 1.6 `UpdateType` enumeration.
745    UpdateType {
746        /// `Differential`.
747        Differential = "Differential",
748        /// `Full`.
749        Full = "Full",
750    }
751}
752
753ocpp_enum! {
754    /// The OCPP 1.6 `UploadLogStatus` enumeration.
755    UploadLogStatus {
756        /// `BadMessage`.
757        BadMessage = "BadMessage",
758        /// `Idle`.
759        Idle = "Idle",
760        /// `NotSupportedOperation`.
761        NotSupportedOperation = "NotSupportedOperation",
762        /// `PermissionDenied`.
763        PermissionDenied = "PermissionDenied",
764        /// `Uploaded`.
765        Uploaded = "Uploaded",
766        /// `UploadFailure`.
767        UploadFailure = "UploadFailure",
768        /// `Uploading`.
769        Uploading = "Uploading",
770    }
771}
772
773ocpp_enum! {
774    /// The OCPP 1.6 `ValueFormat` enumeration.
775    ValueFormat {
776        /// `Raw`.
777        Raw = "Raw",
778        /// `SignedData`.
779        SignedData = "SignedData",
780    }
781}