loco-rs 0.4.0

The one-person framework for Rust
Documentation
{
  "field_types": [
    {
      "name": "uuid",
      "rust": "Option<Uuid>",
      "schema": "uuid_uniq"
    },
    {
      "name": "uuid_col",
      "rust": "Option<Uuid>",
      "schema": "uuid_null"
    },
    {
      "name": "uuid_col!",
      "rust": "Uuid",
      "schema": "uuid"
    },
    {
      "name": "string",
      "rust": "Option<String>",
      "schema": "string_null"
    },
    {
      "name": "string!",
      "rust": "String",
      "schema": "string"
    },
    {
      "name": "string^",
      "rust": "String",
      "schema": "string_uniq"
    },
    {
      "name": "text",
      "rust": "Option<String>",
      "schema": "text_null"
    },
    {
      "name": "text!",
      "rust": "String",
      "schema": "text"
    },
    {
      "name": "tiny_int",
      "rust": "Option<i32>",
      "schema": "tiny_integer_null"
    },
    {
      "name": "tiny_int!",
      "rust": "i32",
      "schema": "tiny_integer"
    },
    {
      "name": "tiny_int^",
      "rust": "i32",
      "schema": "tiny_integer_uniq"
    },
    {
      "name": "small_int",
      "rust": "Option<i32>",
      "schema": "small_integer_null"
    },
    {
      "name": "small_int!",
      "rust": "i32",
      "schema": "small_integer"
    },
    {
      "name": "small_int^",
      "rust": "i32",
      "schema": "small_integer_uniq"
    },
    {
      "name": "int",
      "rust": "Option<i32>",
      "schema": "integer_null"
    },
    {
      "name": "int!",
      "rust": "i32",
      "schema": "integer"
    },
    {
      "name": "int^",
      "rust": "Option<i32>",
      "schema": "integer_uniq"
    },
    {
      "name": "big_int",
      "rust": "Option<i64>",
      "schema": "big_integer_null"
    },
    {
      "name": "big_int!",
      "rust": "i64",
      "schema": "big_integer"
    },
    {
      "name": "big_int^",
      "rust": "i64",
      "schema": "big_integer_uniq"
    },
    {
      "name": "float",
      "rust": "Option<f32>",
      "schema": "float_null"
    },
    {
      "name": "float!",
      "rust": "f32",
      "schema": "float"
    },
    {
      "name": "double",
      "rust": "Option<f64>",
      "schema": "double_null"
    },
    {
      "name": "double!",
      "rust": "f64",
      "schema": "double"
    },
    {
      "name": "decimal",
      "rust": "Option<Decimal>",
      "schema": "decimal_null"
    },
    {
      "name": "decimal!",
      "rust": "Decimal",
      "schema": "decimal"
    },
    {
      "name": "decimal_len",
      "rust": "Option<Decimal>",
      "schema": "decimal_len_null"
    },
    {
      "name": "decimal_len!",
      "rust": "Decimal",
      "schema": "decimal_len"
    },
    {
      "name": "bool",
      "rust": "Option<bool>",
      "schema": "boolean_null"
    },
    {
      "name": "bool!",
      "rust": "bool",
      "schema": "boolean"
    },
    {
      "name": "tstz",
      "rust": "Option<DateTime>",
      "schema": "timestamp_with_time_zone_null"
    },
    {
      "name": "tstz!",
      "rust": "DateTime",
      "schema": "timestamp_with_time_zone"
    },
    {
      "name": "date",
      "rust": "Option<Date>",
      "schema": "date_null"
    },
    {
      "name": "date!",
      "rust": "Date",
      "schema": "date"
    },
    {
      "name": "ts",
      "rust": "Option<DateTime>",
      "schema": "timestamp_null"
    },
    {
      "name": "ts!",
      "rust": "DateTime",
      "schema": "timestamp"
    },
    {
      "name": "json",
      "rust": "Option<serde_json::Value>",
      "schema": "json_null"
    },
    {
      "name": "json!",
      "rust": "serde_json::Value",
      "schema": "json"
    },
    {
      "name": "jsonb",
      "rust": "Option<serde_json::Value>",
      "schema": "json_binary_null"
    },
    {
      "name": "jsonb!",
      "rust": "serde_json::Value",
      "schema": "json_binary"
    }
  ]
}