1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
/*
Appellation: context <module>
Creator: FL03 <jo3mccain@icloud.com>
Description:
... Summary ...
*/
use crate::Settings;
#[derive(Clone, Debug, Hash, PartialEq, scsys::Deserialize, scsys::Serialize)]
pub struct Context {
pub settings: Settings,
}
impl Context {
fn constructor(settings: Settings) -> Self {
Self { settings }
}
pub fn new(settings: Settings) -> Self {
Self::constructor(settings)
}
}