{"id":45350,"date":"2022-11-30T02:38:03","date_gmt":"2023-06-29T02:24:38","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/45350-2\/"},"modified":"2024-04-29T03:03:06","modified_gmt":"2024-04-28T19:03:06","slug":"45350-2","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/45350-2\/","title":{"rendered":""},"content":{"rendered":"<h2>\u6982\u8981\u3068\u6ce8\u610f<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u672c\u8a18\u4e8b\u306f\u3001\u5b8c\u5168\u672a\u5b66\u7fd2\u306e\u72b6\u614b\u304b\u3089Rust\u3067API\u3092\u66f8\u304f\u307e\u3067\u306e\u5b66\u7fd2\u904e\u7a0b\u3067\u3059\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u7b46\u8005\u304c\u666e\u6bb5\u4e3b\u52d9\u3067\u4f7f\u3063\u3066\u3044\u308b\u306e\u304cRuby(Rails)\u306e\u305f\u3081\u3001Rails\u306b\u4f8b\u3048\u305f\u6bd4\u55a9\u304c\u5ea6\u3005\u51fa\u307e\u3059\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Rust\u306b\u95a2\u3057\u3066\u306e\u6b63\u78ba\u306a\u8aac\u660e\u306f\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u305d\u308c\u3069\u3053\u308d\u304b\u3001\u9593\u9055\u3063\u305f\u8aac\u660e\u304c\u5ea6\u3005\u51fa\u307e\u3059\u3002\u3042\u304f\u307e\u3067\u5b66\u7fd2\u306e\u8a18\u9332\u3068\u3057\u3066\u8aad\u3093\u3067\u304f\u3060\u3055\u3044\u3002\uff08\u8a02\u6b63\u306e\u30b3\u30e1\u30f3\u30c8\u306f\u5927\u6b53\u8fce\u3067\u3042\u308a\u307e\u3059\u3002\uff09<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u7fd2\u5f97\u3057\u305f\u3089\u3001\u5168\u3066\u306e\u904e\u7a0b\u30921\u3064\u306e\u8a18\u4e8b\u306b\u307e\u3068\u3081\u307e\u3059<\/ul>\n<h2>1\u65e5\u76ee (\u5b66\u7fd2\u6642\u9593: 1h)<\/h2>\n<h3>Rust\u3092install\u3059\u308b\u3088!<\/h3>\n<p>\u514e\u306b\u3082\u89d2\u306b\u3082\u307e\u305a\u306f\u74b0\u5883\u3092\u4f5c\u3089\u306d\u3070\u3068\u3044\u3046\u3053\u3068\u3067\u3001Rust\u306einstall\u65b9\u6cd5\u3092\u691c\u7d22<br \/>\n\u3042\u308a\u304c\u305f\u3044\u3053\u3068\u306b\u516c\u5f0f\u306e\u65e5\u672c\u8a9e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u66f8\u3044\u3066\u3044\u308b\u901a\u308a\u306binstall<\/p>\n<pre class=\"post-pre\"><code>curl <span class=\"nt\">--proto<\/span> <span class=\"s1\">'=https'<\/span> <span class=\"nt\">--tlsv1<\/span>.2 <span class=\"nt\">-sSf<\/span> https:\/\/sh.rustup.rs | sh\r\n<span class=\"c\"># \u4f7f\u3063\u3066\u3044\u308bshell\u3067PATH\u3092\u901a\u3059<\/span>\r\n<\/code><\/pre>\n<p>\u3075\u3080\u3001\u306f\u3044\u3063\u305f\u3088\u3046\u3060<\/p>\n<pre class=\"post-pre\"><code>&gt; rustup --version\r\nrustup 1.25.1 (bb60b1e89 2022-07-12)\r\ninfo: This is the version for the rustup toolchain manager, not the rustc compiler.\r\ninfo: The currently active `rustc` version is `rustc 1.64.0 (a55dd71d5 2022-09-19)`\r\n<\/code><\/pre>\n<p>ruby\u3060\u3068rbenv\u306e\u3088\u3046\u306aversion\u7ba1\u7406\u30c4\u30fc\u30eb\u304c\u5b58\u5728\u3059\u308b\u304c\u3001Rust\u306e\u5834\u5408\u306f\u3053\u306erustup\u3068\u3044\u3046\u306e\u304c\u4e00\u7a2e\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30c4\u30fc\u30eb\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u3066\u3001rustup install stable\u306e\u3088\u3046\u306a\u5f62\u3067\u5b89\u5b9a\u7248\u3092\u6301\u3063\u3066\u6765\u308c\u308b\u305d\u3046\u306a\u3002(Rust version\u30c4\u30fc\u30eb\u3067\u8abf\u3079\u308b\u3068rsvm\u3063\u3066\u3044\u3046\u306e\u304c\u3072\u3063\u304b\u304b\u3063\u305f\u304c\u3001\u4f55\u306b\u4f7f\u3046\u306e\u304b\u306f\u3088\u304f\u308f\u304b\u3063\u3066\u3044\u306a\u3044)<\/p>\n<p>\u6b21\u306frustc\u3092\u5165\u308c\u308b\u3000\uff08rustc\u304c\u4f55\u304b\u306f\u308f\u304b\u3063\u3066\u3044\u306a\u3044\uff09<\/p>\n<pre class=\"post-pre\"><code><span class=\"o\">&gt;<\/span> rustup <span class=\"nb\">install <\/span>stable\r\ninfo: syncing channel updates <span class=\"k\">for<\/span> <span class=\"s1\">'stable-x86_64-apple-darwin'<\/span>\r\n\r\n  stable-x86_64-apple-darwin unchanged - rustc 1.64.0 <span class=\"o\">(<\/span>a55dd71d5 2022-09-19<span class=\"o\">)<\/span>\r\n\r\ninfo: checking <span class=\"k\">for <\/span>self-updates\r\n<span class=\"o\">&gt;<\/span> rustc <span class=\"nt\">--version<\/span>\r\nrustc 1.64.0 <span class=\"o\">(<\/span>a55dd71d5 2022-09-19<span class=\"o\">)<\/span>\r\n<\/code><\/pre>\n<p>\u3053\u308c\u3082\u5165\u3063\u305f\u3063\u307d\u3044\u3000\u4f55\u304b\u306f\u77e5\u3089\u3093\u3051\u3069<\/p>\n<h3>Hello World<\/h3>\n<p>Rust\u306e\u74b0\u5883\u69cb\u7bc9\u304c\u3067\u304d\u305f\u3068\u3053\u308d\u3067\u3001\u3068\u308a\u3042\u3048\u305aHello World\u3057\u3066\u3044\u304f\u3002<br \/>\nRust\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306fcargo\u3068\u3044\u3046\u3082\u306e\u3092\u4f7f\u3063\u3066\u7acb\u3061\u4e0a\u3052\u308b\u305d\u3046\u306a\u3000\u3068\u308a\u3042\u3048\u305a\u3084\u3063\u3066\u307f\u3088\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"o\">&gt;<\/span> cargo new hello-world\r\nCreated binary <span class=\"o\">(<\/span>application<span class=\"o\">)<\/span> <span class=\"sb\">`<\/span>hello-world<span class=\"sb\">`<\/span> package\r\n<\/code><\/pre>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u4f5c\u6210\u3055\u308c\u305f\u3002\u4e2d\u8eab\u3092\u898b\u3066\u307f\u3088\u3046<\/p>\n<pre class=\"post-pre\"><code><span class=\"o\">&gt;<\/span> <span class=\"nb\">cd <\/span>hello-world\/\r\n<span class=\"o\">&gt;<\/span> <span class=\"nb\">ls\r\n<\/span>Cargo.toml  src\/\r\n<span class=\"o\">&gt;<\/span> <span class=\"nb\">cd <\/span>src\r\n<span class=\"o\">&gt;<\/span> <span class=\"nb\">ls<\/span>\r\n<\/code><\/pre>\n<p>Cargo.toml\u306f\u4e2d\u8eab\u898b\u308b\u611f\u3058\u3001package.json\u7684\u306a\u3084\u3064\u3089\u3057\u3044\u3002\u4f9d\u5b58\u3057\u3066\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3082\u3053\u3053\u306b\u8a18\u8f09\u3057\u3066\u3044\u304f\u3088\u3046\u3060\u3002<br \/>\nmain.rs\u306e\u4e2d\u8eab\u306f\u3001print\u3060\u3051\u306e\u5358\u7d14\u306a\u3084\u3064\u3060\u3063\u305f\u3002function\u306ffn\u3068\u7565\u3059\u3093\u3060\u306a<\/p>\n<pre class=\"post-pre\"><code><span class=\"k\">fn<\/span> <span class=\"nf\">main<\/span><span class=\"p\">()<\/span> <span class=\"p\">{<\/span>\r\n    <span class=\"nd\">println!<\/span><span class=\"p\">(<\/span><span class=\"s\">\"Hello, world!\"<\/span><span class=\"p\">);<\/span>\r\n<span class=\"p\">}<\/span>\r\n<\/code><\/pre>\n<p>\u4e2d\u8eab\u3092\u78ba\u8a8d\u3057\u305f\u3068\u3053\u308d\u3067\u3044\u3056\u5b9f\u884c<\/p>\n<pre class=\"post-pre\"><code><span class=\"o\">&gt;<\/span> cargo run\r\n   Compiling hello-world v0.1.0 <span class=\"o\">(<\/span>\/Users\/nakaofumiaki\/hello-world<span class=\"o\">)<\/span>\r\n    Finished dev <span class=\"o\">[<\/span>unoptimized + debuginfo] target<span class=\"o\">(<\/span>s<span class=\"o\">)<\/span> <span class=\"k\">in <\/span>1.68s\r\n     Running <span class=\"sb\">`<\/span>\/Users\/<span class=\"k\">*<\/span>\/hello-world\/target\/debug\/hello-world<span class=\"sb\">`<\/span>\r\nHello, world!\r\n<\/code><\/pre>\n<p>\u7121\u4e8bhello world\u304c\u51fa\u529b\u3055\u308c\u305f<\/p>\n<h3>Rust\u306eWeb Application Framework &#8220;axum&#8221;<\/h3>\n<p>Rust\u306e\u74b0\u5883\u69cb\u7bc9\u304c\u3067\u304d\u305f\u3068\u3053\u308d\u3067\u3001\u3044\u3088\u3044\u3088Web Application Framework\u3092\u8abf\u3079\u3066\u3044\u304f\u3002<br \/>\n\u691c\u7d22\u3059\u308b\u3068axum\u3068\u3044\u3046\u306e\u304c\u3072\u3063\u304b\u304b\u3063\u305f\u3002\u3068\u3044\u3046\u304b\u3001\u66f8\u304b\u308c\u3066\u3044\u308b\u8a18\u4e8b\u304c\u307b\u307c\u3053\u308c\u306a\u306e\u3067\u3001\u73fe\u6642\u70b9\u3067\u306f\u3053\u308c\u4e00\u629e\u306a\u306e\u304b\u3082\u3057\u308c\u306a\u3044<\/p>\n<p>\u540c\u3058\u3088\u3046\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\u3002\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5165\u3063\u3066\u3044\u305f\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u307e\u308b\u3063\u3068\u30b3\u30d4\u30fc\u3057\u3066\u52d5\u304b\u3057\u3066\u307f\u308b<\/p>\n<p>localhost:3000\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068hello world\u304c\u51fa\u529b\u3055\u308c\u305f\u3002\u3044\u3044\u306d\u3044\u3044\u306d<\/p>\n<p>\u52d5\u3044\u305f\u306e\u3067\u3001\u6b21\u306f\u8efd\u304f\u5909\u66f4\u52a0\u3048\u3066\u307f\u308b<br \/>\n\u898b\u69d8\u898b\u771f\u4f3c\u3067\u3001\/\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u969b\u306e\u8fd4\u308a\u5024\u3092json\u306b\u5909\u66f4\u3057\u3088\u3046\u3068\u3057\u3066\u307f\u308b<\/p>\n<pre class=\"post-pre\"><code><span class=\"k\">async<\/span> <span class=\"k\">fn<\/span> <span class=\"nf\">root<\/span><span class=\"p\">()<\/span> <span class=\"k\">-&gt;<\/span> <span class=\"o\">&amp;<\/span><span class=\"k\">'static<\/span> <span class=\"nb\">str<\/span> <span class=\"p\">{<\/span>\r\n    <span class=\"k\">let<\/span> <span class=\"n\">rootMessage<\/span> <span class=\"o\">=<\/span> <span class=\"n\">RootMessage<\/span> <span class=\"p\">{<\/span>\r\n        <span class=\"n\">message<\/span><span class=\"p\">:<\/span> <span class=\"nv\">'hello<\/span> <span class=\"nd\">world!<\/span>'<span class=\"p\">,<\/span>\r\n    <span class=\"p\">};<\/span>\r\n\r\n    <span class=\"p\">(<\/span><span class=\"nn\">StatusCode<\/span><span class=\"p\">::<\/span><span class=\"n\">OK<\/span><span class=\"p\">,<\/span> <span class=\"nf\">Json<\/span><span class=\"p\">(<\/span><span class=\"n\">rootMessage<\/span><span class=\"p\">))<\/span>\r\n<span class=\"p\">}<\/span>\r\n\r\n<span class=\"nd\">#[derive(Deserialize)]<\/span>\r\n<span class=\"k\">struct<\/span> <span class=\"n\">RootMessage<\/span> <span class=\"p\">{<\/span>\r\n  <span class=\"n\">message<\/span><span class=\"p\">:<\/span> <span class=\"nb\">String<\/span><span class=\"p\">,<\/span>\r\n<span class=\"p\">}<\/span>\r\n<\/code><\/pre>\n<p>\u5b9f\u884c\u3000\u304c\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a8\u30e9\u30fc\u767a\u751f<\/p>\n<pre class=\"post-pre\"><code>error[E0762]: unterminated character literal\r\n  <span class=\"nt\">--<\/span><span class=\"o\">&gt;<\/span> src\/main.rs:35:31\r\n   |\r\n35 |         message: <span class=\"s1\">'hello world!'<\/span>,\r\n   |                               ^^\r\n\r\nFor more information about this error, try <span class=\"sb\">`<\/span>rustc <span class=\"nt\">--explain<\/span> E0762<span class=\"sb\">`<\/span>\r\n<\/code><\/pre>\n<p>\u3069\u3046\u3082\u6587\u6cd5\u30a8\u30e9\u30fc\u3089\u3057\u3044\u3002\u8a66\u3057\u306b\u66f8\u304b\u308c\u3066\u3044\u305frustc &#8211;explain E0762\u3092\u8a66\u3057\u3066\u307f\u308b<\/p>\n<pre class=\"post-pre\"><code>A character literal wasn<span class=\"s1\">'t ended with a quote.\r\n\r\nErroneous code example:\r\n\r\nstatic C: char = '<\/span>\u25cf<span class=\"p\">;<\/span> \/\/ error!\r\n\r\nTo fix this error, add the missing quote:\r\n\r\nstatic C: char <span class=\"o\">=<\/span> <span class=\"s1\">'\u25cf'<\/span><span class=\"p\">;<\/span> \/\/ ok!\r\n<\/code><\/pre>\n<p>\u306a\u3093\u3060\u3053\u308c\u3059\u3054\u3044\u3000\u3000\u6587\u6cd5\u306e\u30a8\u30e9\u30fc\u304c\u3059\u3054\u3044\u8a73\u7d30\u306b\u51fa\u3066\u3044\u308b<br \/>\n\u3069\u3046\u3084\u3089\u30b7\u30f3\u30b0\u30eb\u30af\u30a9\u30fc\u30c8\u304c\u9589\u3058\u3089\u308c\u3066\u3044\u306a\u3044\u3088\u3046\u3060\u304c&#8230;static\u306e\u524d\u306e&amp;&#8217;\u304c\u602a\u3057\u3044\u3088\u3046\u306a\u6c17\u3082\u3059\u308b<br \/>\n\u3053\u3053\u3089\u8fba\u3067Rust\u81ea\u4f53\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u8efd\u304f\u8aad\u3093\u3067\u307f\u305f\u3044\u6c17\u6301\u3061\u306b\u306a\u308b<\/p>\n<h3>1\u65e5\u76ee\u307e\u3068\u3081<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Rust\u306e\u74b0\u5883\u69cb\u7bc9DONE<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Hello World\u3067\u304d\u305f<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">WAF\u767a\u898b \u52d5\u304b\u3059\u3068\u3053\u308d\u307e\u3067\u306f\u3067\u304d\u305f<\/ul>\n<p>\uff12\u65e5\u76ee\u306b\u7d9a\u304f&#8230;!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981\u3068\u6ce8\u610f \u672c\u8a18\u4e8b\u306f\u3001\u5b8c\u5168\u672a\u5b66\u7fd2\u306e\u72b6\u614b\u304b\u3089Rust\u3067API\u3092\u66f8\u304f\u307e\u3067\u306e\u5b66\u7fd2\u904e\u7a0b\u3067\u3059\u3002 &nbsp; \u7b46\u8005\u304c\u666e\u6bb5 [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-45350","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>- Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/45350-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:description\" content=\"\u6982\u8981\u3068\u6ce8\u610f \u672c\u8a18\u4e8b\u306f\u3001\u5b8c\u5168\u672a\u5b66\u7fd2\u306e\u72b6\u614b\u304b\u3089Rust\u3067API\u3092\u66f8\u304f\u307e\u3067\u306e\u5b66\u7fd2\u904e\u7a0b\u3067\u3059\u3002 &nbsp; \u7b46\u8005\u304c\u666e\u6bb5 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/45350-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-29T02:24:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-28T19:03:06+00:00\" \/>\n<meta name=\"author\" content=\"\u5b87, \u534e\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5b87, \u534e\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/45350-2\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/45350-2\/\",\"name\":\"- Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-06-29T02:24:38+00:00\",\"dateModified\":\"2024-04-28T19:03:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/45350-2\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458\",\"name\":\"\u5b87, \u534e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g\",\"caption\":\"\u5b87, \u534e\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yuhua\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/45350-2\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"- Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/45350-2\/","og_locale":"zh_CN","og_type":"article","og_description":"\u6982\u8981\u3068\u6ce8\u610f \u672c\u8a18\u4e8b\u306f\u3001\u5b8c\u5168\u672a\u5b66\u7fd2\u306e\u72b6\u614b\u304b\u3089Rust\u3067API\u3092\u66f8\u304f\u307e\u3067\u306e\u5b66\u7fd2\u904e\u7a0b\u3067\u3059\u3002 &nbsp; \u7b46\u8005\u304c\u666e\u6bb5 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/45350-2\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-06-29T02:24:38+00:00","article_modified_time":"2024-04-28T19:03:06+00:00","author":"\u5b87, \u534e","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u5b87, \u534e","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/45350-2\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/45350-2\/","name":"- Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-06-29T02:24:38+00:00","dateModified":"2024-04-28T19:03:06+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/45350-2\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458","name":"\u5b87, \u534e","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g","caption":"\u5b87, \u534e"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yuhua\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/45350-2\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/45350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=45350"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/45350\/revisions"}],"predecessor-version":[{"id":76992,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/45350\/revisions\/76992"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=45350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=45350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=45350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}