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

# Struct PublicCallRequestArrayLengths

Module: `noir_aztec::protocol::abis::public_call_request`

```rust
pub struct PublicCallRequestArrayLengths {
    pub setup_calls: u32,
    pub app_logic_calls: u32,
    pub teardown_call: bool,
}
```

## Fields

```rust
setup_calls: u32
```

```rust
app_logic_calls: u32
```

```rust
teardown_call: bool
```

## Implementations

```rust
impl PublicCallRequestArrayLengths
```

```rust
pub fn new(
    setup_call_requests: [PublicCallRequest; 32],
    app_logic_call_requests: [PublicCallRequest; 32],
    teardown_call_request: PublicCallRequest,
) -> Self
```

## Trait implementations

```rust
impl Deserialize for PublicCallRequestArrayLengths
```

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

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

```rust
impl Empty for PublicCallRequestArrayLengths
```

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

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

```rust
impl Serialize for PublicCallRequestArrayLengths
```

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

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