This module defines the PPNet.Message.Event struct and provides functions to parse
a binary or list representation of an Event message into this struct.
Summary
Types
@type event_kind() :: :detection
@type t() :: %PPNet.Message.Event{ data: %{optional(String.t()) => any()}, datetime: DateTime.t(), kind: event_kind() }
The PPNet.Message.Event struct
Fields
kind- The kind of event (:detection)data- Arbitrary key/value payload associated with the eventdatetime- Timestamp of the event