# `Hyper.Firecracker.Api.NetworkInterface`
[🔗](https://github.com/harmont-dev/hyper/blob/main/lib/hyper/firecracker/api/schemas/network_interface.ex#L1)

Provides struct and type for a NetworkInterface

# `t`

```elixir
@type t() :: %Hyper.Firecracker.Api.NetworkInterface{
  __info__: any(),
  guest_mac: String.t() | nil,
  host_dev_name: String.t(),
  iface_id: String.t(),
  mtu: integer() | nil,
  rx_rate_limiter: Hyper.Firecracker.Api.RateLimiter.t() | nil,
  tx_rate_limiter: Hyper.Firecracker.Api.RateLimiter.t() | nil
}
```

# `decode`

```elixir
@spec decode(term()) :: t() | nil | term()
```

Build a `Hyper.Firecracker.Api.NetworkInterface` from a decoded-JSON map. Compile-time generated.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
