TypeStructure¶
- class dsviper.TypeStructure¶
Bases:
objectA class used to represent a struct type.
Note: Not directly instantiable.
- static cast(type: Type) TypeStructure¶
Return a type struct or raise.
- check(field_name: str) TypeStructureField¶
Return the field or raise.
- documentation() str¶
Return The documentation.
- fields() list[TypeStructureField]¶
Return the list of fields.
- is_compact() bool¶
Return True the type is compact.
- query(field_name: str) TypeStructureField | None¶
Return the field or None.
- type_code() str¶
Return the type code.