> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Struct ConstructorField

Module: `std::meta::expr`

```rust
pub comptime struct ConstructorField
{ /* private fields */ }
```

A field in a [`ConstructorExpression`](/aztec-nr-api/v6.0.0/std/meta/expr/struct.ConstructorExpression.md).

## Implementations

```rust
impl ConstructorField
```

```rust
pub comptime fn name(self) -> Quoted
```

The field name as a [`Quoted`](/aztec-nr-api/v6.0.0/std/primitive.Quoted.md) identifier.

```rust
pub comptime fn value(self) -> Expr
```

The expression assigned to the field.
