{"action":"opened","number":120,"pull_request":{"url":"https://api.github.com/repos/serde-rs/serde/pulls/120","id":41167620,"html_url":"https://github.com/serde-rs/serde/pull/120","diff_url":"https://github.com/serde-rs/serde/pull/120.diff","patch_url":"https://github.com/serde-rs/serde/pull/120.patch","issue_url":"https://api.github.com/repos/serde-rs/serde/issues/120","number":120,"state":"open","locked":false,"title":"Add enum fields and tuple length to deserialization visitor methods, renamed some more methods","user":{"login":"erickt","id":84711,"avatar_url":"https://avatars.githubusercontent.com/u/84711?v=3","gravatar_id":"","url":"https://api.github.com/users/erickt","html_url":"https://github.com/erickt","followers_url":"https://api.github.com/users/erickt/followers","following_url":"https://api.github.com/users/erickt/following{/other_user}","gists_url":"https://api.github.com/users/erickt/gists{/gist_id}","starred_url":"https://api.github.com/users/erickt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erickt/subscriptions","organizations_url":"https://api.github.com/users/erickt/orgs","repos_url":"https://api.github.com/users/erickt/repos","events_url":"https://api.github.com/users/erickt/events{/privacy}","received_events_url":"https://api.github.com/users/erickt/received_events","type":"User","site_admin":false},"body":"Some more bits inspired by #114.\r\n\r\nThis adds the expected length of tuples, tuple structs, and tuple variants to the visitors as well as adds the variant names to the `visit_enum` method. Also renames `VariantVisitor::visit_{map,seq}` to `visit_{struct,tuple}` as well as renaming `Serializer::visit_enum_{unit,map,seq}` to `visit_{unit,struct,tuple}_variant` to be consistent with the other methods.\r\n\r\ncc @oli-obk, @tomprogrammer, @hugoduncan ","created_at":"2015-07-29T20:23:16Z","updated_at":"2015-07-29T20:23:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/serde-rs/serde/pulls/120/commits","review_comments_url":"https://api.github.com/repos/serde-rs/serde/pulls/120/comments","review_comment_url":"https://api.github.com/repos/serde-rs/serde/pulls/comments{/number}","comments_url":"https://api.github.com/repos/serde-rs/serde/issues/120/comments","statuses_url":"https://api.github.com/repos/serde-rs/serde/statuses/d33c9f50f0cdfe1d6971395f693fb86ebf9d43b2","head":{"label":"erickt:enum-fields","ref":"enum-fields","sha":"d33c9f50f0cdfe1d6971395f693fb86ebf9d43b2","user":{"login":"erickt","id":84711,"avatar_url":"https://avatars.githubusercontent.com/u/84711?v=3","gravatar_id":"","url":"https://api.github.com/users/erickt","html_url":"https://github.com/erickt","followers_url":"https://api.github.com/users/erickt/followers","following_url":"https://api.github.com/users/erickt/following{/other_user}","gists_url":"https://api.github.com/users/erickt/gists{/gist_id}","starred_url":"https://api.github.com/users/erickt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erickt/subscriptions","organizations_url":"https://api.github.com/users/erickt/orgs","repos_url":"https://api.github.com/users/erickt/repos","events_url":"https://api.github.com/users/erickt/events{/privacy}","received_events_url":"https://api.github.com/users/erickt/received_events","type":"User","site_admin":false},"repo":{"id":34622712,"name":"serde","full_name":"erickt/serde","owner":{"login":"erickt","id":84711,"avatar_url":"https://avatars.githubusercontent.com/u/84711?v=3","gravatar_id":"","url":"https://api.github.com/users/erickt","html_url":"https://github.com/erickt","followers_url":"https://api.github.com/users/erickt/followers","following_url":"https://api.github.com/users/erickt/following{/other_user}","gists_url":"https://api.github.com/users/erickt/gists{/gist_id}","starred_url":"https://api.github.com/users/erickt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erickt/subscriptions","organizations_url":"https://api.github.com/users/erickt/orgs","repos_url":"https://api.github.com/users/erickt/repos","events_url":"https://api.github.com/users/erickt/events{/privacy}","received_events_url":"https://api.github.com/users/erickt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erickt/serde","description":"Rust serialization","fork":true,"url":"https://api.github.com/repos/erickt/serde","forks_url":"https://api.github.com/repos/erickt/serde/forks","keys_url":"https://api.github.com/repos/erickt/serde/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erickt/serde/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erickt/serde/teams","hooks_url":"https://api.github.com/repos/erickt/serde/hooks","issue_events_url":"https://api.github.com/repos/erickt/serde/issues/events{/number}","events_url":"https://api.github.com/repos/erickt/serde/events","assignees_url":"https://api.github.com/repos/erickt/serde/assignees{/user}","branches_url":"https://api.github.com/repos/erickt/serde/branches{/branch}","tags_url":"https://api.github.com/repos/erickt/serde/tags","blobs_url":"https://api.github.com/repos/erickt/serde/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erickt/serde/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erickt/serde/git/refs{/sha}","trees_url":"https://api.github.com/repos/erickt/serde/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erickt/serde/statuses/{sha}","languages_url":"https://api.github.com/repos/erickt/serde/languages","stargazers_url":"https://api.github.com/repos/erickt/serde/stargazers","contributors_url":"https://api.github.com/repos/erickt/serde/contributors","subscribers_url":"https://api.github.com/repos/erickt/serde/subscribers","subscription_url":"https://api.github.com/repos/erickt/serde/subscription","commits_url":"https://api.github.com/repos/erickt/serde/commits{/sha}","git_commits_url":"https://api.github.com/repos/erickt/serde/git/commits{/sha}","comments_url":"https://api.github.com/repos/erickt/serde/comments{/number}","issue_comment_url":"https://api.github.com/repos/erickt/serde/issues/comments{/number}","contents_url":"https://api.github.com/repos/erickt/serde/contents/{+path}","compare_url":"https://api.github.com/repos/erickt/serde/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erickt/serde/merges","archive_url":"https://api.github.com/repos/erickt/serde/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erickt/serde/downloads","issues_url":"https://api.github.com/repos/erickt/serde/issues{/number}","pulls_url":"https://api.github.com/repos/erickt/serde/pulls{/number}","milestones_url":"https://api.github.com/repos/erickt/serde/milestones{/number}","notifications_url":"https://api.github.com/repos/erickt/serde/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erickt/serde/labels{/name}","releases_url":"https://api.github.com/repos/erickt/serde/releases{/id}","created_at":"2015-04-26T17:31:12Z","updated_at":"2015-07-08T19:59:57Z","pushed_at":"2015-07-29T20:19:42Z","git_url":"git://github.com/erickt/serde.git","ssh_url":"git@github.com:erickt/serde.git","clone_url":"https://github.com/erickt/serde.git","svn_url":"https://github.com/erickt/serde","homepage":"http://erickt.github.io/rust-serde/serde","size":2927,"stargazers_count":1,"watchers_count":1,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"serde-rs:master","ref":"master","sha":"abf28ee16749a4bf03de501ef0df927c8053e84b","user":{"login":"serde-rs","id":11965399,"avatar_url":"https://avatars.githubusercontent.com/u/11965399?v=3","gravatar_id":"","url":"https://api.github.com/users/serde-rs","html_url":"https://github.com/serde-rs","followers_url":"https://api.github.com/users/serde-rs/followers","following_url":"https://api.github.com/users/serde-rs/following{/other_user}","gists_url":"https://api.github.com/users/serde-rs/gists{/gist_id}","starred_url":"https://api.github.com/users/serde-rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serde-rs/subscriptions","organizations_url":"https://api.github.com/users/serde-rs/orgs","repos_url":"https://api.github.com/users/serde-rs/repos","events_url":"https://api.github.com/users/serde-rs/events{/privacy}","received_events_url":"https://api.github.com/users/serde-rs/received_events","type":"Organization","site_admin":false},"repo":{"id":14367737,"name":"serde","full_name":"serde-rs/serde","owner":{"login":"serde-rs","id":11965399,"avatar_url":"https://avatars.githubusercontent.com/u/11965399?v=3","gravatar_id":"","url":"https://api.github.com/users/serde-rs","html_url":"https://github.com/serde-rs","followers_url":"https://api.github.com/users/serde-rs/followers","following_url":"https://api.github.com/users/serde-rs/following{/other_user}","gists_url":"https://api.github.com/users/serde-rs/gists{/gist_id}","starred_url":"https://api.github.com/users/serde-rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serde-rs/subscriptions","organizations_url":"https://api.github.com/users/serde-rs/orgs","repos_url":"https://api.github.com/users/serde-rs/repos","events_url":"https://api.github.com/users/serde-rs/events{/privacy}","received_events_url":"https://api.github.com/users/serde-rs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/serde-rs/serde","description":"Rust serialization","fork":false,"url":"https://api.github.com/repos/serde-rs/serde","forks_url":"https://api.github.com/repos/serde-rs/serde/forks","keys_url":"https://api.github.com/repos/serde-rs/serde/keys{/key_id}","collaborators_url":"https://api.github.com/repos/serde-rs/serde/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/serde-rs/serde/teams","hooks_url":"https://api.github.com/repos/serde-rs/serde/hooks","issue_events_url":"https://api.github.com/repos/serde-rs/serde/issues/events{/number}","events_url":"https://api.github.com/repos/serde-rs/serde/events","assignees_url":"https://api.github.com/repos/serde-rs/serde/assignees{/user}","branches_url":"https://api.github.com/repos/serde-rs/serde/branches{/branch}","tags_url":"https://api.github.com/repos/serde-rs/serde/tags","blobs_url":"https://api.github.com/repos/serde-rs/serde/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/serde-rs/serde/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/serde-rs/serde/git/refs{/sha}","trees_url":"https://api.github.com/repos/serde-rs/serde/git/trees{/sha}","statuses_url":"https://api.github.com/repos/serde-rs/serde/statuses/{sha}","languages_url":"https://api.github.com/repos/serde-rs/serde/languages","stargazers_url":"https://api.github.com/repos/serde-rs/serde/stargazers","contributors_url":"https://api.github.com/repos/serde-rs/serde/contributors","subscribers_url":"https://api.github.com/repos/serde-rs/serde/subscribers","subscription_url":"https://api.github.com/repos/serde-rs/serde/subscription","commits_url":"https://api.github.com/repos/serde-rs/serde/commits{/sha}","git_commits_url":"https://api.github.com/repos/serde-rs/serde/git/commits{/sha}","comments_url":"https://api.github.com/repos/serde-rs/serde/comments{/number}","issue_comment_url":"https://api.github.com/repos/serde-rs/serde/issues/comments{/number}","contents_url":"https://api.github.com/repos/serde-rs/serde/contents/{+path}","compare_url":"https://api.github.com/repos/serde-rs/serde/compare/{base}...{head}","merges_url":"https://api.github.com/repos/serde-rs/serde/merges","archive_url":"https://api.github.com/repos/serde-rs/serde/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/serde-rs/serde/downloads","issues_url":"https://api.github.com/repos/serde-rs/serde/issues{/number}","pulls_url":"https://api.github.com/repos/serde-rs/serde/pulls{/number}","milestones_url":"https://api.github.com/repos/serde-rs/serde/milestones{/number}","notifications_url":"https://api.github.com/repos/serde-rs/serde/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/serde-rs/serde/labels{/name}","releases_url":"https://api.github.com/repos/serde-rs/serde/releases{/id}","created_at":"2013-11-13T15:22:58Z","updated_at":"2015-07-29T17:38:36Z","pushed_at":"2015-07-29T17:08:19Z","git_url":"git://github.com/serde-rs/serde.git","ssh_url":"git@github.com:serde-rs/serde.git","clone_url":"https://github.com/serde-rs/serde.git","svn_url":"https://github.com/serde-rs/serde","homepage":"https://serde-rs.github.io/serde/serde","size":4625,"stargazers_count":136,"watchers_count":136,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":31,"mirror_url":null,"open_issues_count":26,"forks":31,"open_issues":26,"watchers":136,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/serde-rs/serde/pulls/120"},"html":{"href":"https://github.com/serde-rs/serde/pull/120"},"issue":{"href":"https://api.github.com/repos/serde-rs/serde/issues/120"},"comments":{"href":"https://api.github.com/repos/serde-rs/serde/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/serde-rs/serde/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/serde-rs/serde/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/serde-rs/serde/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/serde-rs/serde/statuses/d33c9f50f0cdfe1d6971395f693fb86ebf9d43b2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":195,"deletions":131,"changed_files":13}}