RPCArg::Optional

Whether an argument is required or may be omitted.

Synopsis

Declared in <rpc/util.h>

enum class Optional : int;

Members

NameDescription
NO Required arg
OMITTED Optional argument for which the default value is omitted from help text for one of two reasons: - It's a named argument and has a default value of null. - Its default value is implicitly clear. That is, elements in an array may not exist by default. When possible, the default value should be specified.