{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/2349","repository_url":"https://api.github.com/repos/rust-lang/rfcs","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2349/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2349/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2349/events","html_url":"https://github.com/rust-lang/rfcs/pull/2349","id":299895603,"number":2349,"title":"Standard library API for immovable types","user":{"login":"withoutboats","id":9063376,"avatar_url":"https://avatars2.githubusercontent.com/u/9063376?v=4","gravatar_id":"","url":"https://api.github.com/users/withoutboats","html_url":"https://github.com/withoutboats","followers_url":"https://api.github.com/users/withoutboats/followers","following_url":"https://api.github.com/users/withoutboats/following{/other_user}","gists_url":"https://api.github.com/users/withoutboats/gists{/gist_id}","starred_url":"https://api.github.com/users/withoutboats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/withoutboats/subscriptions","organizations_url":"https://api.github.com/users/withoutboats/orgs","repos_url":"https://api.github.com/users/withoutboats/repos","events_url":"https://api.github.com/users/withoutboats/events{/privacy}","received_events_url":"https://api.github.com/users/withoutboats/received_events","type":"User","site_admin":false},"labels":[{"id":211667901,"url":"https://api.github.com/repos/rust-lang/rfcs/labels/T-libs","name":"T-libs","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-24T01:04:48Z","updated_at":"2018-02-24T03:15:24Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/2349","html_url":"https://github.com/rust-lang/rfcs/pull/2349","diff_url":"https://github.com/rust-lang/rfcs/pull/2349.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/2349.patch"},"body":"[Rendered](https://github.com/withoutboats/rfcs/blob/pin-and-move/text/0000-pin_and_move.md)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/368194456","html_url":"https://github.com/rust-lang/rfcs/pull/2349#issuecomment-368194456","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2349","id":368194456,"user":{"login":"jpernst","id":877878,"avatar_url":"https://avatars1.githubusercontent.com/u/877878?v=4","gravatar_id":"","url":"https://api.github.com/users/jpernst","html_url":"https://github.com/jpernst","followers_url":"https://api.github.com/users/jpernst/followers","following_url":"https://api.github.com/users/jpernst/following{/other_user}","gists_url":"https://api.github.com/users/jpernst/gists{/gist_id}","starred_url":"https://api.github.com/users/jpernst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpernst/subscriptions","organizations_url":"https://api.github.com/users/jpernst/orgs","repos_url":"https://api.github.com/users/jpernst/repos","events_url":"https://api.github.com/users/jpernst/events{/privacy}","received_events_url":"https://api.github.com/users/jpernst/received_events","type":"User","site_admin":false},"created_at":"2018-02-24T03:15:24Z","updated_at":"2018-02-24T03:15:24Z","author_association":"NONE","body":"@bill-myers: As @withoutboats mentions, `Share` is useful for cloning a self-referential data structure, since it guarantees that, in the new clone, the fields being `Share` will still point to the same memory after cloning, and thus remain consistent. If the address could change after the clone, then the original struct and the clone would become entangled and you're on the way to segfault city. Rental doesn't currently support cloning, but it would be fairly easy to add with this trait in place."}}
{"actor":{"display_login":"jpernst"}}