<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Krouton</author_name>
  <author_url>https://blog.hatena.ne.jp/Krouton/</author_url>
  <blog_title>KRAZY感情TEXTYLE</blog_title>
  <blog_url>https://krouton.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>こんばんは、id:Krouton です。ISUCON10にRustで参加した話をてがきはてなブログで書こうと思ったら消えたので萎えました。ISUCON11までには書きます。多分...。 本題 Derive macros使ってますか？serdeとか使うと出てくる #[derive(Serialize, Deserialize)]の部分ですね。 Derive macrosでstructにBuilder Patternの実装を提供してくれる良さそうなライブラリ*1があって、練習のために実装の真似をしてました use proc_builder_pattern::Builder; #[derive(De…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkrouton.hatenablog.com%2Fentry%2F2020%2F09%2F25%2F012941&quot; title=&quot;Derive macrosを使ってstructにBuilder Patternを生やしてくれるやつを書いてみた - KRAZY感情TEXTYLE&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-09-25 01:29:41</published>
  <title>Derive macrosを使ってstructにBuilder Patternを生やしてくれるやつを書いてみた</title>
  <type>rich</type>
  <url>https://krouton.hatenablog.com/entry/2020/09/25/012941</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
