<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rohki</author_name>
  <author_url>https://blog.hatena.ne.jp/rohki/</author_url>
  <blog_title>ソモサン</blog_title>
  <blog_url>https://rohki.hatenablog.com/</blog_url>
  <categories>
    <anon>Programming</anon>
    <anon>Rust</anon>
  </categories>
  <description>短く crap.rs の requires_if/requires_ifs を使おう。 .arg( Arg::with_name(&quot;iterator-type&quot;) .short(&quot;t&quot;) .long(&quot;iterator-type&quot;) .possible_values(&amp;IteratorType::variants()) .requires_ifs(&amp;[ (&quot;AT_SEQUENCE_NUMBER&quot;, &quot;sequence-number&quot;), (&quot;AFTER_SEQUENCE_NUMBER&quot;, &quot;sequence-number&quot;), (&quot;AT_TIMESTAMP&quot;, &quot;timestamp&quot;), ])…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frohki.hatenablog.com%2Fentry%2F2018%2F05%2F28%2F225714&quot; title=&quot;Rust の CLI ツールで引数の値が特定のものであれば別の引数を必須にしたい - ソモサン&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>2018-05-28 22:57:14</published>
  <title>Rust の CLI ツールで引数の値が特定のものであれば別の引数を必須にしたい</title>
  <type>rich</type>
  <url>https://rohki.hatenablog.com/entry/2018/05/28/225714</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
