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 errorEnums
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
typesFunctions
Stops (i.e. it short-circuits) evaluating
Rule
s when Output.show
becomes false