
Data Fields | |
| unsigned int | variationIndex |
| The index of the returned value within the flag's list of variations. | |
| LDBoolean | hasVariation |
True if there is a variationIndex, false if the default value was returned. | |
| enum LDEvalReason | reason |
| The reason an evaluation occurred. | |
| union { | |
| enum LDEvalErrorKind errorKind | |
| when reason == LD_ERROR | |
| char * prerequisiteKey | |
| when reason == LD_PREREQUISITE_FAILED | |
| struct LDDetailsRule rule | |
| when reason == LD_RULE_MATCH | |
| struct LDDetailsFallthrough fallthrough | |
| when reason == LD_FALLTHROUGH | |
| } | extra |
| Extra information depending on the evaluation reason. | |