Struct tpnote_lib::config::LibCfg
source · pub struct LibCfg {
pub filename: Filename,
pub tmpl: Tmpl,
pub tmpl_html: TmplHtml,
}Expand description
Configuration data, deserialized from the configuration file.
Fields§
§filename: FilenameConfiguration of filename parsing.
tmpl: TmplConfiguration of content and filename templates.
tmpl_html: TmplHtmlConfiguration of HTML templates.
Trait Implementations§
source§impl<'de> Deserialize<'de> for LibCfg
impl<'de> Deserialize<'de> for LibCfg
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
Auto Trait Implementations§
impl RefUnwindSafe for LibCfg
impl Send for LibCfg
impl Sync for LibCfg
impl Unpin for LibCfg
impl UnwindSafe for LibCfg
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