# `Spectre.Router.Adapter.RuleView`
[🔗](https://github.com/elchemista/spectre/blob/0.4.0/lib/spectre/router/adapter.ex#L66)

Read-only projection of one rule visible to a router Adapter.

`ref` is the only accepted result reference. It combines scope and label so
rules mounted from different Skills cannot become ambiguous.

# `ref`

```elixir
@type ref() :: {Spectre.Definition.scope(), atom()}
```

# `t`

```elixir
@type t() :: %Spectre.Router.Adapter.RuleView{
  data: term(),
  flow: atom() | nil,
  flow_path: [atom()],
  global?: boolean(),
  label: atom(),
  opts: keyword(),
  ref: ref(),
  scope: Spectre.Definition.scope()
}
```

---

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