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

# Struct AddressNote

Module: `address_note`

```rust
pub struct AddressNote {
    pub address: AztecAddress,
}
```

## Fields

```rust
address: AztecAddress
```

## Trait implementations

```rust
impl Deserialize for AddressNote
```

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

```rust
pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self
```

```rust
impl Eq for AddressNote
```

```rust
pub fn eq(_self: Self, _other: Self) -> bool
```

```rust
impl NoteHash for AddressNote
```

```rust
pub fn compute_note_hash(
    self,
    owner: AztecAddress,
    storage_slot: Field,
    randomness: Field,
) -> Field
```

```rust
pub fn compute_nullifier(
    self,
    context: &mut PrivateContext,
    owner: AztecAddress,
    note_hash_for_nullification: Field,
) -> Field
```

```rust
pub unconstrained fn compute_nullifier_unconstrained(
    self,
    owner: AztecAddress,
    note_hash_for_nullification: Field,
) -> Option<Field>
```

```rust
impl NoteProperties<AddressNoteProperties> for AddressNote
```

```rust
pub fn properties() -> AddressNoteProperties
```

```rust
impl NoteType for AddressNote
```

```rust
pub fn get_id() -> Field
```

```rust
impl Packable for AddressNote
```

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

```rust
pub fn unpack(packed: [Field; 1]) -> Self
```

```rust
impl Serialize for AddressNote
```

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

```rust
pub fn stream_serialize<let K: u32>(self, writer: &mut Writer<K>)
```
