Filter collision inside ICollector<ColliderCastHit> using custom data?

How do i associate custom data (a struct) with a Rigidbody on unity dots system for fast querying inside a collector?

For example an RTS team system where your projectile dont collide with same team entities but you can have more than 60 teams?

Maybe an native array indexed by RigidBodyIndex? i need it to be fast and useful to filter collision inside ICollector