Traits§
- Deserialize
Payload - Deserializes a struct’s fields from sequential elements of a JSON array.
- Serialize
Payload - Serializes a struct’s fields as sequential elements of a JSON array.
Functions§
- ack_
from_ json - Deserializes a wire-format string into a typed
AckType+DeserializePayloadvalue. - ack_
to_ json - Serializes an
AckType+SerializePayloadvalue into its wire-format string representation. - event_
from_ json - Deserializes a wire-format string into a typed
EventType+DeserializePayloadvalue. - event_
to_ json - Serializes an
EventType+SerializePayloadvalue into its wire-format string representation. - from_
json - Deserializes a JSON string slice into
T. - to_json
- Serializes
payloadto JSON, returning the encoded string.