pub struct TitleConfig {
pub enabled: bool,
pub bg_color: Option<String>,
pub fg_color: Option<String>,
pub justification_char: Option<String>,
pub vertical_char: Option<String>,
pub vertical_fg_color: Option<String>,
pub vertical_bg_color: Option<String>,
}Expand description
Title configuration - styles a title row ABOVE the header
To create a title row, add it as the FIRST data row in your data structure.
Then set enabled = true in the TOML config.
Fields§
§enabled: boolEnable title styling on the first data row
bg_color: Option<String>§fg_color: Option<String>§justification_char: Option<String>§vertical_char: Option<String>§vertical_fg_color: Option<String>§vertical_bg_color: Option<String>Trait Implementations§
Source§impl Clone for TitleConfig
impl Clone for TitleConfig
Source§fn clone(&self) -> TitleConfig
fn clone(&self) -> TitleConfig
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 TitleConfig
impl Debug for TitleConfig
Source§impl<'de> Deserialize<'de> for TitleConfig
impl<'de> Deserialize<'de> for TitleConfig
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 TitleConfig
impl RefUnwindSafe for TitleConfig
impl Send for TitleConfig
impl Sync for TitleConfig
impl Unpin for TitleConfig
impl UnwindSafe for TitleConfig
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