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 moreSource§impl Debug for TableCellStyle
impl Debug for TableCellStyle
Source§impl Default for TableCellStyle
impl Default for TableCellStyle
Source§fn default() -> TableCellStyle
fn default() -> TableCellStyle
Source§impl<'de> Deserialize<'de> for TableCellStyle
impl<'de> Deserialize<'de> for TableCellStyle
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>,
Source§impl Serialize for TableCellStyle
impl Serialize for TableCellStyle
impl Part for TableCellStyle
Auto Trait Implementations§
impl Freeze for TableCellStyle
impl RefUnwindSafe for TableCellStyle
impl Send for TableCellStyle
impl Sync for TableCellStyle
impl Unpin for TableCellStyle
impl UnwindSafe for TableCellStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more