From 5d1ac75f100727b65ccbd32241d1ce2256614307 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Gr=C3=BCnewald?= <10533763+dhalucario@users.noreply.github.com> Date: Sat, 2 Aug 2025 16:16:35 +0200 Subject: [PATCH] post: Make url optional and add optional alt --- r621/src/post.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/r621/src/post.rs b/r621/src/post.rs index 32262c2..792e44e 100644 --- a/r621/src/post.rs +++ b/r621/src/post.rs @@ -89,7 +89,8 @@ pub struct PostSample { pub has: bool, pub width: ImageDimension, pub height: ImageDimension, - pub url: String + pub url: Option, + pub alt: Option } #[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]