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

# Struct CallContext

Module: `noir_aztec::protocol::abis::call_context`

```rust
pub struct CallContext {
    pub msg_sender: AztecAddress,
    pub contract_address: AztecAddress,
    pub function_selector: FunctionSelector,
    pub is_static_call: bool,
}
```

## Fields

```rust
msg_sender: AztecAddress
```

```rust
contract_address: AztecAddress
```

```rust
function_selector: FunctionSelector
```

```rust
is_static_call: bool
```

## Trait implementations

```rust
impl Deserialize for CallContext
```

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

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

```rust
impl Empty for CallContext
```

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

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

```rust
impl Serialize for CallContext
```

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

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