Swim Average Interval HR

I just started swimming laps for an extra exercise type. My Forerunner 955 is great. Even captures HR underwater using the optical sensor!

To track my fitness, I want to capture my average HR during my move times. I generally swim a few laps. Rest. Repeat.

Garmin Connect records my MAX HR and my AVG HR. But it doesn't let me know my AVG ACTIVE HR.

I'll write up a quick custom DF that does this, and then writes out a FIT Summary string with that value. I'll use, I guess, "current speed" and capture HR when I'm moving.

Unless anyone knows of a way to trigger on what the watch refers to as REST TIME -vs- INTERVAL TIME?

Thanks!