1 2 3 4 5 6 7 8 9 10 11 12 13 14
use crate::templates::Copyright; use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize)] pub struct Footer { copyright: Copyright, } impl Footer { #[must_use] pub const fn new(copyright: Copyright) -> Self { Self { copyright } } }