Limen.Decision.Match (limen v0.2.1)

Copy Markdown View Source

A rule that matched, and the values its condition observed.

Summary

Types

kind()

@type kind() ::
  :trust
  | :allow
  | :deny
  | :maze
  | :score
  | :limit
  | :ban
  | :pass
  | :list
  | :trap

t()

@type t() :: %Limen.Decision.Match{
  condition: String.t() | nil,
  kind: kind(),
  name: atom(),
  observed: [{String.t(), term()}],
  weight: integer()
}