Struct tpnote_lib::config::TmplHtml
source · pub struct TmplHtml {
pub viewer: String,
pub viewer_error: String,
pub exporter: String,
pub css: String,
}
Expand description
Configuration for the HTML exporter feature, deserialized from the configuration file.
Fields§
§viewer: String
§viewer_error: String
§exporter: String
§css: String
Configuration variable holding the source code highlighter CSS code
concatenated with TMPL_HTML_CSS_COMMON
. In HTML templates this
constant can be accessed as value of the TMPL_HTML_VAR_NOTE_CSS
variable.
Trait Implementations§
source§impl<'de> Deserialize<'de> for TmplHtml
impl<'de> Deserialize<'de> for TmplHtml
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 TmplHtml
impl Send for TmplHtml
impl Sync for TmplHtml
impl Unpin for TmplHtml
impl UnwindSafe for TmplHtml
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