pub fn payload_structure<I: Span>(
    input: I
) -> Res<I, SubstanceTypePatternDef<PointVar>>