pub struct DataTableBlock {
pub rows: Vec<Vec<DataTableCell>>,
pub block_id: Option<String>,
pub page_size: Option<u32>,
pub caption: String,
pub row_header_column_index: Option<u32>,
/* private fields */
}Expand description
A table with pagination, sorting and filtering. https://docs.slack.dev/reference/block-kit/blocks/data-table-block
Fields§
§rows: Vec<Vec<DataTableCell>>§block_id: Option<String>§page_size: Option<u32>§caption: String§row_header_column_index: Option<u32>Implementations§
Trait Implementations§
Source§impl Clone for DataTableBlock
impl Clone for DataTableBlock
Source§impl Debug for DataTableBlock
impl Debug for DataTableBlock
Source§impl<'de> Deserialize<'de> for DataTableBlock
impl<'de> Deserialize<'de> for DataTableBlock
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
Source§impl From<DataTableBlock> for Block
impl From<DataTableBlock> for Block
Source§fn from(value: DataTableBlock) -> Self
fn from(value: DataTableBlock) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DataTableBlock
impl PartialEq for DataTableBlock
Source§impl Serialize for DataTableBlock
impl Serialize for DataTableBlock
impl StructuralPartialEq for DataTableBlock
Auto Trait Implementations§
impl Freeze for DataTableBlock
impl RefUnwindSafe for DataTableBlock
impl Send for DataTableBlock
impl Sync for DataTableBlock
impl Unpin for DataTableBlock
impl UnsafeUnpin for DataTableBlock
impl UnwindSafe for DataTableBlock
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