# `DiffoExample.Nbn.Speeds`
[🔗](https://github.com/diffo-dev/diffo_example/blob/v0.4.0/lib/nbn/resources/types/speeds.ex#L4)

Diffo - TMF Service and Resource Management with a difference

Speeds type for NBN domain

# `cast_input`

# `handle_change?`

# `prepare_change?`

# `speeds`

# `speeds`

Returns a tuple of maximum downstream and upstream speeds in Mbps
given the bandwidth_profile and technology, or :error

## Examples
  iex> DiffoExample.Nbn.Speeds.speeds(:D12_U1, :Satellite)
  {12, 1}
  iex> DiffoExample.Nbn.Speeds.speeds(:home_fast, :FTTP)
  {500, 50}
  iex> DiffoExample.Nbn.Speeds.speeds(:home_hyperfast, :HFC)
  {2000, 100}
  iex> DiffoExample.Nbn.Speeds.speeds(:home_fast, :FixedWireless)
  :error

---

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