pub struct HtmlConfig {
pub css_file: String,
pub favicon_file: String,
pub use_prism: bool,
pub prism_theme: String,
pub sanitize_html: bool,
}
Expand description
Manages all configuration for HTML generation
Fields§
§css_file: String
§favicon_file: String
§use_prism: bool
§prism_theme: String
§sanitize_html: bool
Trait Implementations§
Source§impl Debug for HtmlConfig
impl Debug for HtmlConfig
Source§impl Default for HtmlConfig
impl Default for HtmlConfig
Source§impl<'de> Deserialize<'de> for HtmlConfig
impl<'de> Deserialize<'de> for HtmlConfig
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 Freeze for HtmlConfig
impl RefUnwindSafe for HtmlConfig
impl Send for HtmlConfig
impl Sync for HtmlConfig
impl Unpin for HtmlConfig
impl UnwindSafe for HtmlConfig
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