You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mod.rs
    path of file: ./repos/Jotoba/lib/types/src/jotoba/pagination
    
    the code of the file until where you have to start completion: pub mod page;

use page::Page;
use serde::Serialize;
use std::cmp::min;

/// The amount of buttons the paginator should display 
    
    pub fn new(curr_page: u32, items: u32, items_per_page: u32, max_pages: u32) -> Self {
        Self {
            curr_page,
            items,
            items_per_page,
            max_pages,
        }
    }