pub struct AppConf {
pub title: RUMString,
pub description: RUMString,
pub company: RUMString,
pub copyright: RUMString,
pub lang: RUMString,
pub theme: RUMString,
pub custom_css: bool,
pub header_conf: HeaderConf,
pub footer_conf: FooterConf,
/* private fields */
}Expand description
This is a core structure in a web project using the RUMTK framework. This structure contains a series of fields that represent the web app initial state or configuration. The idea is that the web app can come bundled with a JSON config file following this structure which we can load at runtime. The settings will dictate a few key project behaviors such as properly labeling some components with the company name or use the correct language text.
Fields§
§title: RUMString§description: RUMString§company: RUMString§copyright: RUMString§lang: RUMString§theme: RUMString§custom_css: bool§header_conf: HeaderConfImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppConf
impl<'de> Deserialize<'de> for AppConf
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for AppConf
Auto Trait Implementations§
impl Freeze for AppConf
impl RefUnwindSafe for AppConf
impl Send for AppConf
impl Sync for AppConf
impl Unpin for AppConf
impl UnwindSafe for AppConf
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more