about summary refs log tree commit diff
path: root/src/database
diff options
context:
space:
mode:
Diffstat (limited to 'src/database')
-rw-r--r--src/database/mod.rs10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/database/mod.rs b/src/database/mod.rs
index 0d98dd4..5a1dd3f 100644
--- a/src/database/mod.rs
+++ b/src/database/mod.rs
@@ -9,15 +9,7 @@ mod memory;
 #[cfg(test)]
 pub use crate::database::memory::MemoryStorage;
 
-
-/// Data structure representing a Micropub channel in the ?q=channels output.
-#[derive(Serialize, Deserialize, PartialEq, Debug)]
-pub struct MicropubChannel {
-    /// The channel's UID. It is usually also a publically accessible permalink URL.
-    pub uid: String,
-    /// The channel's user-friendly name used to recognize it in lists.
-    pub name: String,
-}
+pub use kittybox_util::MicropubChannel;
 
 /// Enum representing different errors that might occur during the database query.
 #[derive(Debug, Clone, Copy)]