pub struct TableCellStyle {
pub background_color: Option<OptionalColor>,
pub border_bottom: Option<TableCellBorder>,
pub border_left: Option<TableCellBorder>,
pub border_right: Option<TableCellBorder>,
pub border_top: Option<TableCellBorder>,
pub column_span: Option<i32>,
pub content_alignment: Option<String>,
pub padding_bottom: Option<Dimension>,
pub padding_left: Option<Dimension>,
pub padding_right: Option<Dimension>,
pub padding_top: Option<Dimension>,
pub row_span: Option<i32>,
}Expand description
The style of a TableCell. Inherited table cell styles are represented as unset fields in this message. A table cell style can inherit from the table’s style.
This type is not used in any activity, and only used as part of another schema.
Fields§
§background_color: Option<OptionalColor>The background color of the cell.
border_bottom: Option<TableCellBorder>The bottom border of the cell.
border_left: Option<TableCellBorder>The left border of the cell.
border_right: Option<TableCellBorder>The right border of the cell.
border_top: Option<TableCellBorder>The top border of the cell.
column_span: Option<i32>The column span of the cell. This property is read-only.
content_alignment: Option<String>The alignment of the content in the table cell. The default alignment matches the alignment for newly created table cells in the Docs editor.
padding_bottom: Option<Dimension>The bottom padding of the cell.
padding_left: Option<Dimension>The left padding of the cell.
padding_right: Option<Dimension>The right padding of the cell.
padding_top: Option<Dimension>The top padding of the cell.
row_span: Option<i32>The row span of the cell. This property is read-only.
Trait Implementations§
Source§impl Clone for TableCellStyle
impl Clone for TableCellStyle
Source§fn clone(&self) -> TableCellStyle
fn clone(&self) -> TableCellStyle
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more