#[derive(Queryable, Debug)] pub struct UnitsOfMeasure { pub id: u32, pub volumetricUnitId: Option, pub weightUnitId: Option, pub number: Option, pub createdAt: Option, pub updatedAt: Option, } #[derive(Queryable, Debug)] pub struct SomethingType { pub id: u32, pub value: String, pub name: String, pub active: bool, pub createdAt: Option, pub updatedAt: Option, pub inbound: bool, } #[derive(Queryable, Debug)] pub struct Something { pub id: u32, pub somethingId: Option, pub somethingInOunces: f64, pub total: f64, pub createdAt: Option, pub updatedAt: Option, } #[derive(Queryable, Debug)] pub struct TextType { pub id: i32, pub tinytext: String, pub nullableTinytext: Option, pub mediumtext: String, pub nullableMediumtext: Option, pub longtext: String, pub nullableLongtext: Option, } #[derive(Queryable, Debug)] pub struct NumericType { pub id: i32, pub double: f64, pub nullableDouble: Option, pub tinyint: i8, pub nullableTinyint: Option, pub smallint: i16, pub nullableSmallint: Option, pub bigint: i64, pub nullableBigint: Option, } #[derive(Queryable, Debug)] pub struct UnsignedType { pub id: i32, pub unsignedTinyint: u8, pub nullableUnsignedTinyint: Option, pub unsignedSmallint: u16, pub nullableUnsignedSmallint: Option, pub bigint: u64, pub nullableBigint: Option, } #[derive(Queryable, Debug)] pub struct BlobType { pub id: i32, pub blob: Vec, pub nullableBlob: Option>, pub tinyblob: Vec, pub nullableTinyblob: Option>, pub mediumblob: Vec, pub nullableMediumblob: Option>, pub longblob: Vec, pub nullableLongblob: Option>, } #[derive(Queryable, Debug)] pub struct BinaryAndChar { pub id: i32, pub char: String, pub varchar: String, pub binary: Vec, pub varbinary: Vec, }