Skip to main content
Rust4PM

TableSchema

One table's declared shape.
Used as Input

0

functions accept this type(+2 nested)

Used as Output

0

functions return this type(+2 nested)

Type Definition

6 nested items
struct— One table's declared shape.
columns*:HashMap<String, ColumnSchema>— Columns, keyed by name.
name*:String— Table name.

Example JSON Value

json
{
  "columns": {
    "something": {
      "col_type": "example",
      "name": "example",
      "nullable": false
    }
  },
  "name": "example"
}