pub struct TableConfig {
pub name: String,
pub display_name: String,
pub range: String,
pub columns: Vec<TableColumn>,
pub show_header_row: bool,
pub style_name: Option<String>,
pub auto_filter: bool,
pub show_first_column: bool,
pub show_last_column: bool,
pub show_row_stripes: bool,
pub show_column_stripes: bool,
}Expand description
Configuration for creating a table.
Fields§
§name: StringThe table name (used internally, must be unique within the workbook).
display_name: StringThe display name shown in the UI.
range: StringThe cell range (e.g. “A1:D10”).
columns: Vec<TableColumn>Column definitions.
show_header_row: boolWhether to show the header row. Defaults to true.
style_name: Option<String>The table style name (e.g. “TableStyleMedium2”).
auto_filter: boolWhether to enable auto-filter on the table.
show_first_column: boolWhether to show first column formatting.
show_last_column: boolWhether to show last column formatting.
show_row_stripes: boolWhether to show row stripes.
show_column_stripes: boolWhether to show column stripes.
Trait Implementations§
Source§impl Clone for TableConfig
impl Clone for TableConfig
Source§fn clone(&self) -> TableConfig
fn clone(&self) -> TableConfig
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 TableConfig
impl Debug for TableConfig
Auto Trait Implementations§
impl Freeze for TableConfig
impl RefUnwindSafe for TableConfig
impl Send for TableConfig
impl Sync for TableConfig
impl Unpin for TableConfig
impl UnwindSafe for TableConfig
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