Derive Macro der_derive::Message[][src]

#[derive(Message)]
{
    // Attributes available to this derive:
    #[asn1]
}

Derive the Message trait on a struct.

This custom derive macro can be used to automatically impl the Message trait for any struct representing a message which is encoded as an ASN.1 SEQUENCE.

See toplevel documentation for the der_derive crate for more information about how to use this macro.