pub struct MarkdownBrandingConfig {
pub logo_url: Option<String>,
pub logo_alt: String,
pub header: Option<String>,
pub footer: Option<String>,
pub company_name: Option<String>,
pub copyright: Option<String>,
pub show_timestamp: bool,
pub include_toc: bool,
pub css_class: Option<String>,
pub brand_color: String,
}Expand description
Branding configuration for Markdown exports
Fields§
§logo_url: Option<String>Logo URL or path (for HTML image tag in markdown)
logo_alt: StringLogo alt text
header: Option<String>Header text (appears at top of document)
Footer text (appears at bottom of document)
company_name: Option<String>Company or organization name
copyright: Option<String>Copyright text
show_timestamp: boolInclude generation timestamp
include_toc: boolInclude table of contents
css_class: Option<String>Custom CSS class for styling (useful for HTML rendering)
brand_color: StringPrimary brand color (hex format, e.g., “#0066CC”)
Trait Implementations§
Source§impl Clone for MarkdownBrandingConfig
impl Clone for MarkdownBrandingConfig
Source§fn clone(&self) -> MarkdownBrandingConfig
fn clone(&self) -> MarkdownBrandingConfig
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 MarkdownBrandingConfig
impl Debug for MarkdownBrandingConfig
Source§impl Default for MarkdownBrandingConfig
impl Default for MarkdownBrandingConfig
Source§fn default() -> MarkdownBrandingConfig
fn default() -> MarkdownBrandingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MarkdownBrandingConfig
impl<'de> Deserialize<'de> for MarkdownBrandingConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MarkdownBrandingConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MarkdownBrandingConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for MarkdownBrandingConfig
impl Serialize for MarkdownBrandingConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for MarkdownBrandingConfig
impl RefUnwindSafe for MarkdownBrandingConfig
impl Send for MarkdownBrandingConfig
impl Sync for MarkdownBrandingConfig
impl Unpin for MarkdownBrandingConfig
impl UnwindSafe for MarkdownBrandingConfig
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