(value: &str)
| 2664 | } |
| 2665 | |
| 2666 | fn parse_article_kind(value: &str) -> ArticleKind { |
| 2667 | match value.trim() { |
| 2668 | "interactive_repost" => ArticleKind::InteractiveRepost, |
| 2669 | _ => ArticleKind::Markdown, |
| 2670 | } |
| 2671 | } |
| 2672 | |
| 2673 | fn batches_to_images(batches: &[RecordBatch]) -> Result<Vec<ImageInfo>> { |
| 2674 | let mut images = Vec::new(); |