TypeStructureField¶
- class dsviper.TypeStructureField¶
Bases:
objectOne field of a struct type, as TypeStructure.fields(), query() and check() answer it.
Note: Not directly instantiable.
- default_value(*, encoded: Literal[True] = True) _OutputValues | None¶
Return the default value or None.
encoded=False returns a Value rather than a native object.
- documentation() str¶
Return the documentation the field was created with, empty when none was given.
- name() str¶
Return the field name as declared.