Struct rust_tdlib::types::PageBlockTableCell
source · pub struct PageBlockTableCell { /* private fields */ }
Expand description
Represents a cell of a table
Implementations§
source§impl PageBlockTableCell
impl PageBlockTableCell
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> PageBlockTableCellBuilder
pub fn text(&self) -> &Option<RichText>
pub fn is_header(&self) -> bool
pub fn colspan(&self) -> i32
pub fn rowspan(&self) -> i32
pub fn align(&self) -> &PageBlockHorizontalAlignment
pub fn valign(&self) -> &PageBlockVerticalAlignment
Trait Implementations§
source§impl AsRef<PageBlockTableCell> for PageBlockTableCell
impl AsRef<PageBlockTableCell> for PageBlockTableCell
source§fn as_ref(&self) -> &PageBlockTableCell
fn as_ref(&self) -> &PageBlockTableCell
Converts this type into a shared reference of the (usually inferred) input type.
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 Default for PageBlockTableCell
impl Default for PageBlockTableCell
source§fn default() -> PageBlockTableCell
fn default() -> PageBlockTableCell
Returns the “default value” for a type. Read more
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