Make fields in std::comm private
auto merge of #9935 : reedlepee123/rust/my_new_branch, r=bstrie