TablePreview
A few real rows of one table, for display only.
Rows are aligned to
Rows are aligned to
TablePreview::columns so a wide table can be read across. A cell isNone for SQL NULL, distinct from Some(String::new()).Used as Input
0
functions accept this type(+2 nested)
Used as Output
2
functions return this type(+2 nested)
Type Definition
5 nested items
struct— A few real rows of one table, for display only.
columns*:Vec<String>— Column names, in the order the rows are aligned to.
[items]:String
rows*:Vec<Vec<Option<String>>>— Rows, each the same length as
columns.[items]:Vec<Option<String>>
Example JSON Value
json
{
"columns": [
"example"
],
"rows": [
[
"example"
]
]
}