Skip to main content
Rust4PM

CompileError

A mapping that produced no view, and why.

Compilation never fails wholesale: an uncompilable mapping is skipped and recorded here, and
everything else still compiles.

Serializable but not deserializable: RejectReason is not, so neither is this.
Used as Input

0

functions accept this type

Used as Output

0

functions return this type(+1 nested)

Type Definition

89 nested items
struct— A mapping that produced no view, and why.
mapping:Option<MappingRef>— The mapping this is about, or None for a blueprint-level problem.
variant 2:()
reason*:RejectReason— Why a mapping could not be compiled to a view. Every variant names something the emitter

Example JSON Value

json
{
  "reason": {
    "SynthesizedId": {
      "field": "example"
    }
  }
}