Crate runeauth

source ·

Macros§

Structs§

  • An Alternative is the smallest component of a rune. It consists of a single combination of a field name, a condition and a value that can be checked.
  • A Check trait implementation that checks for matching conditions. The ConditionChecker compares the String value against the condition of the Alternative.
  • A struct that implements the Check trait and checks conditions based on a HashMap<String, String>. It calls the ConditionChecker with the value for the key matching the alternative.

Enums§

  • Conditions are the heart of a Rune. They are to be met and build [Alternatives] and [Restrictions].

Traits§

  • A trait that defines how an alternative is tested.

Functions§