webserver_base/templates/schema/
footer.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::templates::Copyright;
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Footer {
    pub copyright: Copyright,
}

impl Footer {
    #[must_use]
    pub const fn new(copyright: Copyright) -> Self {
        Self { copyright }
    }
}