fetch/types.go
func (t *RequestStage) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch RequestStage(in.String()) {
	case RequestStageRequest:
		*t = RequestStageRequest
	case RequestStageResponse:
		*t = RequestStageResponse

	default:
		in.AddError(errors.New("unknown RequestStage value"))
	}
}
func (t *RequestStage) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch RequestStage(in.String()) {
	case RequestStageRequest:
		*t = RequestStageRequest
	case RequestStageResponse:
		*t = RequestStageResponse

	default:
		in.AddError(errors.New("unknown RequestStage value"))
	}
}
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.