{"id":26194632,"url":"https://github.com/lucacappelletti94/diesel-testing","last_synced_at":"2025-08-23T00:27:19.526Z","repository":{"id":277318417,"uuid":"931745095","full_name":"LucaCappelletti94/diesel-testing","owner":"LucaCappelletti94","description":"Testing traits involving diesel","archived":false,"fork":false,"pushed_at":"2025-03-06T09:18:30.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-18T09:55:29.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LucaCappelletti94.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-12T19:34:54.000Z","updated_at":"2025-03-06T09:18:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c11e23e-ceae-4797-b0d8-18b1237d286b","html_url":"https://github.com/LucaCappelletti94/diesel-testing","commit_stats":null,"previous_names":["lucacappelletti94/diesel-testing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LucaCappelletti94/diesel-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fdiesel-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fdiesel-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fdiesel-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fdiesel-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LucaCappelletti94","download_url":"https://codeload.github.com/LucaCappelletti94/diesel-testing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fdiesel-testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271722985,"owners_count":24809669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-12T01:59:28.665Z","updated_at":"2025-08-23T00:27:19.503Z","avatar_url":"https://github.com/LucaCappelletti94.png","language":"Rust","readme":"# diesel-testing\n\nTesting traits involving diesel\n\n## The issue\n\nDiesel provides many derive macros which, in the case of concrete structs, greatly simplify the implementation of traits such as `Insertable` - these derive generate many things, including for instance the types for the n-uples of the rows being inserted or extracted.\n\nWhile this is great for concrete structs, when trying to define a trait `InsertableStruct` for a generic struct that is insertable such as:\n\n```rust\npub trait InsertableStruct: Insertable {}\n```\n\nyou will find that it actually is not enough for your struct to be actually insertable, but many other additional constraints have to be added.\n\nUnfortunately, at this time, I could not figure out the whole set of constraints.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucacappelletti94%2Fdiesel-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucacappelletti94%2Fdiesel-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucacappelletti94%2Fdiesel-testing/lists"}