Skip to main content

MediCommand

Derive Macro MediCommand 

Source
#[derive(MediCommand)]
{
    // Attributes available to this derive:
    #[medi_command]
}
Expand description

Derive static command metadata for a command or query type.

Use #[medi_command(return_type = Type)] to specify the response type. If omitted, the command response type is ().