{"width":"100%","provider_url":"https://hatena.blog","version":"1.0","published":"2024-05-01 00:39:47","author_name":"kuredev","type":"rich","provider_name":"Hatena Blog","blog_url":"https://kure.hatenablog.jp/","description":"\u4ee5\u4e0b\u3060\u3068\u3001Test\u306e get_name \u3067\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3051\u3069\u3001 Test2\u306eget_age \u306f\u30a8\u30e9\u30fc\u306b\u306a\u3089\u306a\u3044\u3002 cannot move out of self.name which is behind a shared reference move occurs because self.name has type String, which does not implement the Copy trait struct Test { name: String } impl Test { fn get_name(&self) -> String{ return self.name; } }\u2026","author_url":"https://blog.hatena.ne.jp/kuredev/","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkure.hatenablog.jp%2Fentry%2F2024%2F05%2F01%2F003947\" title=\"\u6240\u6709\u6a29\u3068\u304bCopy, Clone\u3068\u304b - memo.log\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"\u6240\u6709\u6a29\u3068\u304bCopy, Clone\u3068\u304b","url":"https://kure.hatenablog.jp/entry/2024/05/01/003947","image_url":null,"blog_title":"memo.log","categories":["Rust"]}