> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/struct/struct.fields.md).

# Struct.fields

*`property`*` ``fields :` [*`APIList`*](/glider-ide/api/iterables/apilist.md)*`[`*[*`StructField`*](/glider-ide/api/structfield.md)*`]`*

## Query Example

```python
from glider import *


def query():
  contracts = Contracts().with_name("DefaultReserveInterestRateStrategy").exec(1)

  for contract in contracts:
    for struct in contract.structs().exec():
      for struct_field in struct.fields:
        print(struct_field.name)

  return contracts
```

## Example Output

<figure><img src="/files/yN5tVnQxR2IrGLSRRiV2" alt=""><figcaption></figcaption></figure>
