OtpInputResult
Result of OtpState.withInput.
didComplete is true only when this input turned an incomplete code into a complete one, so hosts can submit the code exactly once per completion.
rejection is non-null when the input inserted several digits at once and their count differs from the field length. The state is then unchanged and didComplete is false.