collections.paginate Slice a list into a 1-based page and report the totals an API response needs. paginate in Rust collectionspaginationpagingapi 1.0.0py rs ts18 tests