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,
}Expand description
Configuration for a table.
Fields§
§name: StringThe table name (used internally).
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.
style_name: Option<String>The table style name (e.g. “TableStyleMedium2”).
auto_filter: boolWhether to enable auto-filter on the table.
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 moreAuto 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