Attribute Macro elfo::message[][src]

#[message]
Expand description

Derives required traits to use the type as a message or a message part.

Attributes:

  • part — do not derive Message. Useful for parts of messages.
  • ret = SomeType — also derive Request with the provided response type.
  • not(Debug) — do not derive Debug. Useful for custom instances.
  • not(Clone) — the same for Clone.
  • elfo = some::path — override a path to elfo.