pub struct Table {Show 15 fields
pub id: u32,
pub name: String,
pub range: RangeRef,
pub header_row: bool,
pub totals_row: bool,
pub columns: Vec<TableColumn>,
pub style: String,
pub banded_rows: bool,
pub banded_cols: bool,
pub first_col: bool,
pub last_col: bool,
pub filter_button: bool,
pub filter: Vec<(u32, FilterCriterion)>,
pub table_type: Option<String>,
pub connection_id: Option<u32>,
}Fields§
§id: u32§name: String§range: RangeRefWhole table including header and totals rows.
header_row: bool§totals_row: bool§columns: Vec<TableColumn>§style: String§banded_rows: bool§banded_cols: bool§first_col: bool§last_col: bool§filter: Vec<(u32, FilterCriterion)>Criteria of the table’s AutoFilter (column offset within the table → criterion). With criteria present, hidden data rows are filtered out rather than hidden by hand, which SUBTOTAL distinguishes.
table_type: Option<String>tableType when it isn’t a plain worksheet table: xml for a table bound to an XML map.
connection_id: Option<u32>The connection (xl/connections.xml) an XML table is bound through.
Implementations§
Source§impl Table
impl Table
pub fn data_range(&self) -> Option<RangeRef>
pub fn header_range(&self) -> Option<RangeRef>
pub fn totals_range(&self) -> Option<RangeRef>
pub fn column_index(&self, name: &str) -> Option<usize>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Table
impl<'de> Deserialize<'de> for Table
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
impl StructuralPartialEq for Table
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnsafeUnpin for Table
impl UnwindSafe for Table
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