<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>PageTAKA</author_name>
  <author_url>https://blog.hatena.ne.jp/PageTAKA/</author_url>
  <blog_title>pagetakaBlog</blog_title>
  <blog_url>https://pagetaka.hatenablog.jp/</blog_url>
  <categories>
    <anon>Rust</anon>
    <anon>PC、ネット、情報端末</anon>
  </categories>
  <description>前説：非同期+sqlx+query_asでRDB読み取りタプルへ 構造体は、特製「仕切り付き弁当容器」の仕様 main.rsの #[derive(sqlx::FromRow, Debug)]とstruct 構造体名の直前に置く「_」は”型推論の空欄&quot; 「構造体」使って、MariaDB読み取った main.rs コード 補足説明：Cargo.toml、日付型、十進数型、そしてquery_as! 【Rust:sqlx+構造体でMariaDB読み取り】</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpagetaka.hatenablog.jp%2Fentry%2F2026%2F06%2F02%2F090551&quot; title=&quot;Rust失敗録：「構造体」(struct)書いたが、sqlx用にderiveする必要が... - pagetakaBlog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/P/PageTAKA/20260601/20260601125947.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-06-02 09:05:51</published>
  <title>Rust失敗録：「構造体」(struct)書いたが、sqlx用にderiveする必要が...</title>
  <type>rich</type>
  <url>https://pagetaka.hatenablog.jp/entry/2026/06/02/090551</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
