From 67c6336b048c7dc03b1bfa36d80672dba3361e92 Mon Sep 17 00:00:00 2001 From: Denis-Cosmin NUTIU Date: Mon, 30 Dec 2024 22:25:17 +0200 Subject: [PATCH] make blob structs public --- bot/src/bluesky/atproto.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot/src/bluesky/atproto.rs b/bot/src/bluesky/atproto.rs index 6abe557..acc3876 100644 --- a/bot/src/bluesky/atproto.rs +++ b/bot/src/bluesky/atproto.rs @@ -3,13 +3,13 @@ use post::NewsPost; use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug)] -struct BlobLinkRef { +pub struct BlobLinkRef { #[serde(rename = "$link")] pub _link: String, } #[derive(Serialize, Deserialize, Debug)] -struct Blob { +pub struct Blob { #[serde(rename = "$type")] pub _type: String, #[serde(rename = "ref")] @@ -33,7 +33,7 @@ impl Blob { } #[derive(Serialize, Deserialize, Debug)] -struct BlobResponse { +pub struct BlobResponse { pub blob: Blob, }