> 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/contracts/contracts.with_struct_name.md).

# Contracts.with\_struct\_name()

`with_struct_name(name: str, sensitivity: bool = True) →` [`Contracts`](/glider-ide/api/contracts.md)

## Query Example

```python
from glider import *

def query():
  contracts = (
    Contracts()
    .with_struct_name("User")
    .exec(1))

  structs = contracts[0].structs().exec()
  for struct in structs:
      print(struct.name)
  
  return contracts
```

## Output Example

<figure><img src="/files/8RbzEDYxNdbeqapz60Hu" alt=""><figcaption></figcaption></figure>
