Module primitives::targeting

source ·

Modules

Structs

Input is deserializable from the struct, however we should be careful, since all the fields should align with the enum Field
The Rules is just a Vec<Rule> with one difference: When Deserializing it will skip invalid Rule instead of returning an error

Enums

Traits

We keep the GetField implementation on each individual Get<Getter, Values> implementation to lower the risk of a field diverging as 2 different Value types

Functions

Stops (i.e. it short-circuits) evaluating Rules when Output.show becomes false