webserver-base 0.1.22

A Rust library which contains shared logic for all of my webserver projects.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};

use super::copyright::Copyright;

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

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