C Server-Side SDK
LaunchDarkly SDK
LDDetails Struct Reference
Collaboration diagram for LDDetails:

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
   struct LDDetailsRule   rule
 when reason == LD_RULE_MATCH
   struct LDDetailsFallthrough   fallthrough
 when reason == LD_FALLTHROUGH
 Extra information depending on the evaluation reason.

The documentation for this struct was generated from the following file: