Stopsel.Message.Protocol protocol (stopsel v0.1.0) View Source

Protocol to turn a data structure into a Stopsel.Message.

Link to this section Summary

Functions

Returns the assigns for the message.

Returns the text content for the message.

Link to this section Types

Link to this section Functions

Specs

assigns(t()) :: Stopsel.Message.assigns()

Returns the assigns for the message.

Specs

content(t()) :: Stopsel.Message.content()

Returns the text content for the message.