pub fn build_table<T, O>(
data: &T,
options: &O,
) -> (Vec<String>, Vec<Vec<String>>)where
T: StructTable,
O: StructTableOptions,
Expand description
Build a table for a single structure
Returns a vector with first row being column headers [“Attribute”, “Value”]. All other rows
represent transposed table with first value in the vector being an attribute name and second
value being the value itself. The optional attribute, which is None
is not being returned.