use serde::Serialize; /// The header that goes above the content of the page. /// /// This header will be mostly the same on every page. #[derive(Debug, Serialize)] pub(crate) struct PageHeader { website_title: Option, home_link: Option, } impl PageHeader { pub(crate) fn new(website_title: Option, home_link: Option) -> PageHeader { PageHeader { website_title, home_link, } } }