def value(self, name, value):
if isinstance(value, _StructuredElement):<EOL><INDENT>self._struct_fields_as_values(name, value)<EOL><DEDENT>elif name.startswith('<STR_LIT>'):<EOL><INDENT>self._header_values[name.partition('<STR_LIT::>')[-<NUM_LIT:1>]] = value<EOL><DEDENT>else:<EOL><INDENT>self._field_values[name] = value<EOL><DEDENT>
Defines a default `value` for a template field identified by `name`.

        Default values for header fields can be set with header:field syntax.

        Examples:
        | Value | foo | 42 |
        | Value | struct.sub_field | 0xcafe |
        | Value | header:version | 0x02 |