Struct tdlib::types::PageBlockTableCell
source · pub struct PageBlockTableCell {
pub text: Option<RichText>,
pub is_header: bool,
pub colspan: i32,
pub rowspan: i32,
pub align: PageBlockHorizontalAlignment,
pub valign: PageBlockVerticalAlignment,
}
Expand description
Represents a cell of a table
Fields§
§text: Option<RichText>
Cell text; may be null. If the text is null, then the cell must be invisible
is_header: bool
True, if it is a header cell
colspan: i32
The number of columns the cell spans
rowspan: i32
The number of rows the cell spans
align: PageBlockHorizontalAlignment
Horizontal cell content alignment
valign: PageBlockVerticalAlignment
Vertical cell content alignment
Trait Implementations§
source§impl Clone for PageBlockTableCell
impl Clone for PageBlockTableCell
source§fn clone(&self) -> PageBlockTableCell
fn clone(&self) -> PageBlockTableCell
Returns a copy 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 moresource§impl Debug for PageBlockTableCell
impl Debug for PageBlockTableCell
source§impl<'de> Deserialize<'de> for PageBlockTableCell
impl<'de> Deserialize<'de> for PageBlockTableCell
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