{ allow_path_within_segment?: boolean, direction: defines.rail_direction, is_front?: boolean, priority?: uint8, rail: LuaEntity }