Struct rust_tdlib::types::PageBlockTableCell
source · [−]pub struct PageBlockTableCell { /* private fields */ }Expand description
Represents a cell of a table
Implementations
sourceimpl 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
sourceimpl AsRef<PageBlockTableCell> for PageBlockTableCell
impl AsRef<PageBlockTableCell> for PageBlockTableCell
sourcefn as_ref(&self) -> &PageBlockTableCell
fn as_ref(&self) -> &PageBlockTableCell
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for PageBlockTableCell
impl Clone for PageBlockTableCell
sourcefn clone(&self) -> PageBlockTableCell
fn clone(&self) -> PageBlockTableCell
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PageBlockTableCell
impl Debug for PageBlockTableCell
sourceimpl Default for PageBlockTableCell
impl Default for PageBlockTableCell
sourcefn default() -> PageBlockTableCell
fn default() -> PageBlockTableCell
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PageBlockTableCell
impl<'de> Deserialize<'de> for PageBlockTableCell
sourcefn 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
sourceimpl Serialize for PageBlockTableCell
impl Serialize for PageBlockTableCell
Auto Trait Implementations
impl RefUnwindSafe for PageBlockTableCell
impl Send for PageBlockTableCell
impl Sync for PageBlockTableCell
impl Unpin for PageBlockTableCell
impl UnwindSafe for PageBlockTableCell
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more