Postgresql – Required for struct to implement diesel::Queryable trait
I have this sql migration query for the account entity: CREATE TABLE accounts ( id UUID PRIMARY KEY DEFAULT uuid_generate_v4(), user_id UUID NOT NULL REFERENCES users(id), name VARCHAR NOT NULL, currency VARCHAR NOT NULL, account_type VARCHAR NOT NULL, amount DOUBLE…