[][src]Module new_home_application::method::method_structure

Structs

Method

Contains general information about the method

MethodArgument

Contains the definition for a single method argument contains the name, description, help, value and whether the argument is required or not The default value can be set in the value field which is optional when the argument is not required

MethodArguments

Contains the arguments for a called method Stores them in a HashMap which can only be accessed by a single getter method

MethodResult

This struct contains the structure for a method return It consists of a return code and a single message which can be an error, a success or an info message Is used together with serde for serialization and deserialization to and from JSON (mainly)