# `GunsNPrices.ModelMatch`
[🔗](https://github.com/gunsnprices/gunsnprices-elixir/blob/v0.1.0/lib/gunsnprices/model_match.ex#L1)

Result of `GunsNPrices.identify_model/2`.

  * `brand` - brand as named on GunsNPrices, e.g. `"Glock"`
  * `family` - model family, e.g. `"Glock 19"`
  * `model` - most specific model, e.g. `"Glock 19 Gen 5 MOS"`
  * `generation` - `"5"`, `"V"`, `"V3"` ... or `""` when unknown
  * `configs` - configurations found, e.g. `["MOS"]`, `["Compact"]`
  * `features` - features found, e.g. `["Threaded Barrel", "FDE"]`
  * `source` - `:title` (named in the title) or `:mpn` (decoded from a Glock part number)

# `t`

```elixir
@type t() :: %GunsNPrices.ModelMatch{
  brand: String.t(),
  configs: [String.t()],
  family: String.t(),
  features: [String.t()],
  generation: String.t(),
  model: String.t(),
  source: :title | :mpn
}
```

---

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