> 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/structfield/structfield.name.md).

# StructField.name

Returns the name of the struct field.

*`property`*` ``name :`` `*`str`*

## 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="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FoCPHTK0Mogwj4RngXvSz%2FScreenshot%202025-09-10%20at%205.39.46%E2%80%AFPM.png?alt=media&amp;token=0bed16bb-3de0-45ca-af64-03974dde2a23" alt=""><figcaption></figcaption></figure>
