pub struct TableSource {Show 14 fields
pub columns: Vec<TableColumn>,
pub repeat_header: bool,
pub group_by: Option<String>,
pub keep_together_by: Option<String>,
pub row_anchor_field: Option<String>,
pub total_fields: Vec<String>,
pub conditional_styles: Vec<TableStyleRuleSource>,
pub auto_sample_rows: usize,
pub max_rows: Option<u64>,
pub max_row_fields: Option<usize>,
pub max_cell_bytes: Option<usize>,
pub header_height: Length,
pub row_height: Option<Length>,
pub page_bodies: Option<TablePageBodies>,
}Expand description
Declarative first-class table options.
Fields§
§columns: Vec<TableColumn>Columns in stable visual order.
repeat_header: boolRepeat the header on continuation pages.
group_by: Option<String>Optional grouping field.
keep_together_by: Option<String>Optional row field that keeps contiguous equal values together when they fit one page; oversized groups split between complete rows.
row_anchor_field: Option<String>Optional data field whose string values publish named row anchors.
total_fields: Vec<String>Exact numeric total fields.
conditional_styles: Vec<TableStyleRuleSource>Ordered conditional row styles.
auto_sample_rows: usizeMaximum rows sampled for auto columns.
max_rows: Option<u64>Optional stricter row limit.
max_row_fields: Option<usize>Optional stricter field-count limit per row.
max_cell_bytes: Option<usize>Optional stricter displayed byte limit per cell.
header_height: LengthHeader height.
row_height: Option<Length>Fixed row height or auto for measured rows.
page_bodies: Option<TablePageBodies>Optional first-page and continuation body regions inside the table bounds.
Trait Implementations§
Source§impl Clone for TableSource
impl Clone for TableSource
Source§impl Debug for TableSource
impl Debug for TableSource
Source§impl<'de> Deserialize<'de> for TableSource
impl<'de> Deserialize<'de> for TableSource
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
Source§impl PartialEq for TableSource
impl PartialEq for TableSource
Source§impl Serialize for TableSource
impl Serialize for TableSource
impl StructuralPartialEq for TableSource
Auto Trait Implementations§
impl Freeze for TableSource
impl RefUnwindSafe for TableSource
impl Send for TableSource
impl Sync for TableSource
impl Unpin for TableSource
impl UnsafeUnpin for TableSource
impl UnwindSafe for TableSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.