pub struct Table {
pub rows: Vec<Vec<TableCell>>,
pub caption: Option<Vec<Inline>>,
pub bordered: bool,
pub striped: bool,
pub compact: bool,
}Expand description
A table block.
Fields§
§rows: Vec<Vec<TableCell>>Rows of cells.
caption: Option<Vec<Inline>>Optional caption.
bordered: boolDraw borders.
striped: boolStriped rows.
compact: boolCompact cell padding (Bot API 10.3+).
Trait Implementations§
impl StructuralPartialEq for Table
Auto Trait Implementations§
impl Forget for Table
impl Freeze for Table
impl Move for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnsafeUnpin for Table
impl UnwindSafe for Table
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