/Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/TimingEventSearch.h
TTimingEventSearch::Search(
Parameters,{
        for (FMyStruct& Payload : Payloads)
    {
            InContext.Check(InEventStartTime, InEventEndTime, 0, Payload);
        }
    },&MatchedPayload{
        MatchedPayload = InEvent;
    },&MatchedPayload{
        // Do something with MatchedPayload, e.g. call a captured lambda.
    });
template<typename PayloadType> struct TTimingEventSearch