{"provider_name":"Hatena Blog","title":"Rust\u306e\u65e5\u4ed8\u6642\u523b\u51e6\u7406(std::time, time, chrono)","url":"https://qnighy.hatenablog.com/entry/2019/04/21/190000","width":"100%","author_url":"https://blog.hatena.ne.jp/qnighy/","blog_title":"\u7c21\u6f54\u306aQ","height":"190","provider_url":"https://hatena.blog","blog_url":"https://qnighy.hatenablog.com/","image_url":null,"author_name":"qnighy","type":"rich","version":"1.0","categories":[],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fqnighy.hatenablog.com%2Fentry%2F2019%2F04%2F21%2F190000\" title=\"Rust\u306e\u65e5\u4ed8\u6642\u523b\u51e6\u7406(std::time, time, chrono) - \u7c21\u6f54\u306aQ\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea \u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u306f\u6642\u523b\u3092\u6271\u3046\u305f\u3081\u306e\u57fa\u790e\u3068\u306a\u308b\u578b\u306e\u307f\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u3002\u66a6\u3084\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u306a\u3069\u3092\u6271\u3046\u3068\u304d\u306f\u5f8c\u8ff0\u306e chrono \u3092\u4f7f\u3046\u306e\u304c\u3088\u3044\u3002 std::time::Duration ... \u6642\u9593\u3002 std::time::Instant ... \u4f53\u5185\u6642\u8a08\u306e\u6642\u523b\u3002 std::time::SystemTime ... \u6642\u8a08\u306e\u6642\u523b\u3002 Duration \u6642\u9593\u306fOS\u3068\u306f\u7121\u95a2\u4fc2\u306a\u306e\u3067libcore\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u3002 src/libcore/time.rs pub struct Duration { secs: u64, nanos: u32, // Always 0 <= nanos < NA\u2026","published":"2019-04-21 19:00:00"}