{"action":"created","issue":{"url":"https://api.github.com/repos/nix-rust/nix/issues/814","repository_url":"https://api.github.com/repos/nix-rust/nix","labels_url":"https://api.github.com/repos/nix-rust/nix/issues/814/labels{/name}","comments_url":"https://api.github.com/repos/nix-rust/nix/issues/814/comments","events_url":"https://api.github.com/repos/nix-rust/nix/issues/814/events","html_url":"https://github.com/nix-rust/nix/pull/814","id":279811816,"number":814,"title":"Misc cleanup","user":{"login":"Susurrus","id":206363,"avatar_url":"https://avatars1.githubusercontent.com/u/206363?v=4","gravatar_id":"","url":"https://api.github.com/users/Susurrus","html_url":"https://github.com/Susurrus","followers_url":"https://api.github.com/users/Susurrus/followers","following_url":"https://api.github.com/users/Susurrus/following{/other_user}","gists_url":"https://api.github.com/users/Susurrus/gists{/gist_id}","starred_url":"https://api.github.com/users/Susurrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Susurrus/subscriptions","organizations_url":"https://api.github.com/users/Susurrus/orgs","repos_url":"https://api.github.com/users/Susurrus/repos","events_url":"https://api.github.com/users/Susurrus/events{/privacy}","received_events_url":"https://api.github.com/users/Susurrus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-12-06T16:12:02Z","updated_at":"2017-12-09T22:08:42Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/nix-rust/nix/pulls/814","html_url":"https://github.com/nix-rust/nix/pull/814","diff_url":"https://github.com/nix-rust/nix/pull/814.diff","patch_url":"https://github.com/nix-rust/nix/pull/814.patch"},"body":"Add more traits to the various datatypes in `nix`. Also try to utilize more `libc` types where appropriate.\r\n\r\nThis is still WIP because:\r\n  * Looking for feedback on ba2d85bc. Does it make sense for bitflags structs to have `Ord` & `PartialOrd` derived for them?\r\n  * Need to implement a newtype wrapper around `libc::linger` with both a `new()` constructor and getters. Additionally this needs manual implementations of `Eq`, `PartialEq`, `Debug` (I've been skipping manually implementing `Hash` for now.\r\n  * In 2b3fb11a46 I need to implement newtype wrappers around `ip_mreq` and `ipv6_mreq` that have `new()` constructors and field getters. Additionally they need manual implementations of `Eq`, `PartialEq`, `Debug` (I've been skipping manually implementing `Hash` for now. This commit also needs a CHANGELOG entry.\r\n  * ed79cfbc needs a CHANGELOG entry because its variants names have changed with the switch to using `libc_bitflags!`."},"comment":{"url":"https://api.github.com/repos/nix-rust/nix/issues/comments/350509070","html_url":"https://github.com/nix-rust/nix/pull/814#issuecomment-350509070","issue_url":"https://api.github.com/repos/nix-rust/nix/issues/814","id":350509070,"user":{"login":"Susurrus","id":206363,"avatar_url":"https://avatars1.githubusercontent.com/u/206363?v=4","gravatar_id":"","url":"https://api.github.com/users/Susurrus","html_url":"https://github.com/Susurrus","followers_url":"https://api.github.com/users/Susurrus/followers","following_url":"https://api.github.com/users/Susurrus/following{/other_user}","gists_url":"https://api.github.com/users/Susurrus/gists{/gist_id}","starred_url":"https://api.github.com/users/Susurrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Susurrus/subscriptions","organizations_url":"https://api.github.com/users/Susurrus/orgs","repos_url":"https://api.github.com/users/Susurrus/repos","events_url":"https://api.github.com/users/Susurrus/events{/privacy}","received_events_url":"https://api.github.com/users/Susurrus/received_events","type":"User","site_admin":false},"created_at":"2017-12-09T22:08:42Z","updated_at":"2017-12-09T22:08:42Z","author_association":"CONTRIBUTOR","body":"@asomers Can I get a final check with you on this before I merge it?"}}
{"actor":{"display_login":"Susurrus"}}