From f43d2eca70fbb3c319562b5b0be96003bf1c0631 Mon Sep 17 00:00:00 2001 From: jim-taylor-business Date: Wed, 24 Jan 2024 14:03:31 +0000 Subject: [PATCH] make inner type pub so it can be read and created easily in other crates (#4397) this is for use in SSR pagination in Lemmy-UI-Leptos --- crates/db_views/src/structs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/db_views/src/structs.rs b/crates/db_views/src/structs.rs index a68001a52..6ffef5fe0 100644 --- a/crates/db_views/src/structs.rs +++ b/crates/db_views/src/structs.rs @@ -101,7 +101,7 @@ pub struct PostReportView { #[derive(Serialize, Deserialize, Debug, Clone)] #[cfg_attr(feature = "full", derive(ts_rs::TS))] #[cfg_attr(feature = "full", ts(export))] -pub struct PaginationCursor(pub(crate) String); +pub struct PaginationCursor(pub String); #[skip_serializing_none] #[derive(Debug, PartialEq, Serialize, Deserialize, Clone)]