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: admin.rs
    path of file: ./repos/seed/examples/pages_keep_state/src/page
    
    the code of the file until where you have to start completion: use crate::Context;
use seed::{prelude::*, *};

const REPORT: &str = "report";

mod page;

// ------ ------
//     Init
// ------ ------

pub fn init(mut url: Url, model: &mut Option
    
pub fn init(mut url: Url, model: &mut Option<Model>) -> Option<()> {
    let model = model.get_or_insert_with(Model::default);
    model.page_id.replace(match url.next_path_part() {
        Some(REPORT) => page::report::init(url, &mut model.report_model).map(|_| PageId::Report)?,
        _ => None?,
    });
    Some(())
}