Expand description
The traits that tie a payload type to its action, direction and message kind.
Structs§
- Unknown
Action - An action name this version does not define.
- Unknown
Variant - An enumeration value this version does not define.
Enums§
- Message
Kind - Whether a message is a confirmed
CALLor an unconfirmedSEND. - NoResponse
- The response type of a
SEND, which by definition never has one (Part 4 §4.2.4). - Origin
- Which peer originates an action.
Traits§
- Action
Name - The behaviour every generated per-version
Actionenum provides. - Confirmed
- A request that is answered — everything except an OCPP 2.1
SEND. - Decode
Request - A union of the requests one side receives —
v2_1::CsRequeston a CSMS,v2_1::CsmsRequeston a station — decodable from an action and a raw payload. - Request
- A request payload.
- Response
- A response payload.
- Sealed
- Prevents downstream crates from implementing the payload traits, so new actions and new versions are not breaking changes for them.
- Unconfirmed
- An unconfirmed request — an OCPP 2.1
SEND(Part 4 §4.2.4).