> 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.source_code.md).

# Struct.source\_code()

## 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():
      print(struct.source_code())

  return contracts
```

## Example Output

<figure><img src="/files/1qBMvBKngM8iG1wQIKis" alt=""><figcaption></figcaption></figure>
