Type alias OptionJson<T>

OptionJson<T>: {
    None: [];
} | {
    Some: [T];
}

The JSON schema representation of a rust Option

Type Parameters

  • T

    The type to represent as optional

Generated using TypeDoc