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

# Struct NoteHashLeafPreimage

Module: `noir_aztec::protocol::abis::note_hash_leaf_preimage`

```rust
pub struct NoteHashLeafPreimage {
    pub value: Field,
}
```

## Fields

```rust
value: Field
```

## Implementations

```rust
impl NoteHashLeafPreimage
```

```rust
pub fn is_empty(self) -> bool
```

```rust
pub fn serialize(self) -> [Field; 1]
```

```rust
pub fn deserialize(fields: [Field; 1]) -> Self
```

## Trait implementations

```rust
impl Empty for NoteHashLeafPreimage
```

```rust
pub fn empty() -> Self
```

```rust
pub fn is_empty(self: Self) -> bool
where
    Self: Eq
```

```rust
pub fn assert_empty<let S: u32>(self: Self, msg: str<S>)
where
    Self: Eq
```

```rust
impl Eq for NoteHashLeafPreimage
```

```rust
pub fn eq(self, other: Self) -> bool
```

```rust
impl LeafPreimage for NoteHashLeafPreimage
```

```rust
pub fn get_key(self) -> Field
```

```rust
pub fn as_leaf(self) -> Field
```

```rust
impl Readable for NoteHashLeafPreimage
```

```rust
pub fn assert_match_read_request(self, read_request: Field)
```
