Derive Macro ruma_serde_macros::Outgoing[][src]

    // Attributes available to this derive:
Expand description

Derive the Outgoing trait, possibly generating an ‘Incoming’ version of the struct this derive macro is used on. Specifically, if no lifetime variables are used on any of the fields of the struct, this simple implementation will be generated:

impl Outgoing for MyType {
    type Incoming = Self;