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

# Struct LogHash

Module: `protocol_types::abis::log_hash`

```rust
pub struct LogHash {
    pub value: Field,
    pub length: u32,
}
```

## Fields

```rust
value: Field
```

```rust
length: u32
```

## Implementations

```rust
impl LogHash
```

```rust
pub fn count(self, counter: u32) -> Counted<Self>
```

```rust
pub fn scope(self, contract_address: AztecAddress) -> Scoped<Self>
```

## Trait implementations

```rust
impl Deserialize for LogHash
```

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

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

```rust
impl Empty for LogHash
```

```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 LogHash
```

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

```rust
impl Serialize for LogHash
```

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

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