| 1 | use serde::{Deserialize, Serialize}; |
| 2 | |
| 3 | use super::TextStyleConfig; |
| 4 | |
| 5 | /// General styling for table widgets. |
| 6 | #[derive(Clone, Debug, Default, Deserialize, Serialize)] |
| 7 | #[cfg_attr(feature = "generate_schema", derive(schemars::JsonSchema))] |
| 8 | #[cfg_attr(test, serde(deny_unknown_fields), derive(PartialEq, Eq))] |
| 9 | pub(crate) struct TableStyle { |
| 10 | /// Text styling for table headers. |
| 11 | pub(crate) headers: Option<TextStyleConfig>, |
| 12 | } |