SchemaDefault

The payload struct carrying a @schemaDefault value. Construct it via the schemaDefault(value) factory so the value type is inferred; the generator detects it with isInstanceOf!(SchemaDefault, UDA).

A field carrying @schemaDefault is treated as optional (omitted from required) even when its value equals the type's .init.

@safe
struct SchemaDefault (
T
) {
T value;
}