[][src]Attribute Macro exonum_derive::interface_method

#[interface_method]

Meta-information attribute for interface methods.

Fields

id (required)

#[interface_method(id = 0)]

Numeric identifier of the method. Should be unique for every method in the trait.

Using this attribute is a recommended way to remove methods from interface, since it guarantees that method ID won't be reused.