{"action":"created","issue":{"url":"https://api.github.com/repos/rust-bio/rust-htslib/issues/60","repository_url":"https://api.github.com/repos/rust-bio/rust-htslib","labels_url":"https://api.github.com/repos/rust-bio/rust-htslib/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/rust-bio/rust-htslib/issues/60/comments","events_url":"https://api.github.com/repos/rust-bio/rust-htslib/issues/60/events","html_url":"https://github.com/rust-bio/rust-htslib/pull/60","id":299055602,"number":60,"title":"Extend derives for structs and enums","user":{"login":"gavento","id":956446,"avatar_url":"https://avatars0.githubusercontent.com/u/956446?v=4","gravatar_id":"","url":"https://api.github.com/users/gavento","html_url":"https://github.com/gavento","followers_url":"https://api.github.com/users/gavento/followers","following_url":"https://api.github.com/users/gavento/following{/other_user}","gists_url":"https://api.github.com/users/gavento/gists{/gist_id}","starred_url":"https://api.github.com/users/gavento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavento/subscriptions","organizations_url":"https://api.github.com/users/gavento/orgs","repos_url":"https://api.github.com/users/gavento/repos","events_url":"https://api.github.com/users/gavento/events{/privacy}","received_events_url":"https://api.github.com/users/gavento/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-21T17:15:50Z","updated_at":"2018-02-22T15:31:49Z","closed_at":"2018-02-22T15:01:36Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rust-bio/rust-htslib/pulls/60","html_url":"https://github.com/rust-bio/rust-htslib/pull/60","diff_url":"https://github.com/rust-bio/rust-htslib/pull/60.diff","patch_url":"https://github.com/rust-bio/rust-htslib/pull/60.patch"},"body":"* Add `Debug` for all structs and enums (even structures with only pointers -- it is still useful to auto-derive `Debug` for your struct containing those).\r\n* Add `Clone` / `Copy` for structs & enums with simple data (no pointers, e.g. only `Vec`s, `Option`s, primitives, references).\r\n* Add `PartialEq` / `Eq` and `Hash` to structs with clear semantics (not some seemingly binary-encoded data, there `PartialEq` might not match the data semantics)\r\n* Add `Clone` for errors (not `Copy` in case you would like to extend some them with `String` messages or such)\r\n\r\nWould you consider releasing a new version? (my code depends on copying `GenotypeAllele` and it would make my life and code distribution simpler) Thanks!"},"comment":{"url":"https://api.github.com/repos/rust-bio/rust-htslib/issues/comments/367718018","html_url":"https://github.com/rust-bio/rust-htslib/pull/60#issuecomment-367718018","issue_url":"https://api.github.com/repos/rust-bio/rust-htslib/issues/60","id":367718018,"user":{"login":"gavento","id":956446,"avatar_url":"https://avatars0.githubusercontent.com/u/956446?v=4","gravatar_id":"","url":"https://api.github.com/users/gavento","html_url":"https://github.com/gavento","followers_url":"https://api.github.com/users/gavento/followers","following_url":"https://api.github.com/users/gavento/following{/other_user}","gists_url":"https://api.github.com/users/gavento/gists{/gist_id}","starred_url":"https://api.github.com/users/gavento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavento/subscriptions","organizations_url":"https://api.github.com/users/gavento/orgs","repos_url":"https://api.github.com/users/gavento/repos","events_url":"https://api.github.com/users/gavento/events{/privacy}","received_events_url":"https://api.github.com/users/gavento/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T15:31:49Z","updated_at":"2018-02-22T15:31:49Z","author_association":"CONTRIBUTOR","body":"Thanks!"}}
{"actor":{"display_login":"gavento"}}