I would remove the structure and just make this

    rpy_desired[0] = bound(stabilizationDesired.Roll + trimAngles.Roll, settings.RollMax);