pub struct ThemeEmbed {
pub head: Option<String>,
pub header_before: Option<String>,
pub header_after: Option<String>,
pub sidebar_before: Option<String>,
pub sidebar_after: Option<String>,
pub content_before: Option<String>,
pub content_after: Option<String>,
pub footer_before: Option<String>,
pub footer: Option<String>,
}Expand description
Embedded HTML content for specific positions in the page layout.
Fields§
§head: Option<String>Content to inject into <head>.
header_before: Option<String>Content before header.
header_after: Option<String>Content after header.
Content before sidebar navigation.
Content after sidebar navigation.
content_before: Option<String>Content before main content.
content_after: Option<String>Content after main content.
Content before footer.
Custom footer content (replaces default footer).
Trait Implementations§
Source§impl Clone for ThemeEmbed
impl Clone for ThemeEmbed
Source§fn clone(&self) -> ThemeEmbed
fn clone(&self) -> ThemeEmbed
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThemeEmbed
impl Debug for ThemeEmbed
Source§impl Default for ThemeEmbed
impl Default for ThemeEmbed
Source§fn default() -> ThemeEmbed
fn default() -> ThemeEmbed
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThemeEmbed
impl<'de> Deserialize<'de> for ThemeEmbed
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 ThemeEmbed
impl RefUnwindSafe for ThemeEmbed
impl Send for ThemeEmbed
impl Sync for ThemeEmbed
impl Unpin for ThemeEmbed
impl UnsafeUnpin for ThemeEmbed
impl UnwindSafe for ThemeEmbed
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