pub struct PageTableCell {
pub header: bool,
pub align_center: bool,
pub align_right: bool,
pub valign_middle: bool,
pub valign_bottom: bool,
pub text: Option<RichText>,
pub colspan: Option<i32>,
pub rowspan: Option<i32>,
}Expand description
Generated from:
pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCellFields§
§header: bool§align_center: bool§align_right: bool§valign_middle: bool§valign_bottom: bool§text: Option<RichText>§colspan: Option<i32>§rowspan: Option<i32>Trait Implementations§
Source§impl Clone for PageTableCell
impl Clone for PageTableCell
Source§fn clone(&self) -> PageTableCell
fn clone(&self) -> PageTableCell
Returns a duplicate 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 PageTableCell
impl Debug for PageTableCell
Source§impl Deserializable for PageTableCell
impl Deserializable for PageTableCell
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<PageTableCell> for PageTableCell
impl From<PageTableCell> for PageTableCell
Source§fn from(x: PageTableCell) -> Self
fn from(x: PageTableCell) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PageTableCell
impl Identifiable for PageTableCell
Source§const CONSTRUCTOR_ID: u32 = 0x34566b6a
const CONSTRUCTOR_ID: u32 = 0x34566b6a
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PageTableCell
impl PartialEq for PageTableCell
Source§impl Serializable for PageTableCell
impl Serializable for PageTableCell
Source§impl TryFrom<PageTableCell> for PageTableCell
impl TryFrom<PageTableCell> for PageTableCell
Source§type Error = PageTableCell
type Error = PageTableCell
The type returned in the event of a conversion error.
impl StructuralPartialEq for PageTableCell
Auto Trait Implementations§
impl Freeze for PageTableCell
impl RefUnwindSafe for PageTableCell
impl Send for PageTableCell
impl Sync for PageTableCell
impl Unpin for PageTableCell
impl UnsafeUnpin for PageTableCell
impl UnwindSafe for PageTableCell
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
Mutably borrows from an owned value. Read more