Render the table groups.
This commit is contained in:
12
src/context/table_group.rs
Normal file
12
src/context/table_group.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
use super::table_row::RenderTableRow;
|
||||
use serde::Serialize;
|
||||
|
||||
#[derive(Debug, Serialize)]
|
||||
#[serde(tag = "type")]
|
||||
pub(crate) enum RenderTableGroup {
|
||||
#[serde(rename = "head")]
|
||||
Head { children: Vec<RenderTableRow> },
|
||||
|
||||
#[serde(rename = "body")]
|
||||
Body { children: Vec<RenderTableRow> },
|
||||
}
|
||||
Reference in New Issue
Block a user