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 deriveMessage
. Useful for parts of messages.ret = SomeType
— also deriveRequest
with the provided response type.not(Debug)
— do not deriveDebug
. Useful for custom instances.not(Clone)
— the same forClone
.elfo = some::path
— override a path to elfo.