summaryrefslogtreecommitdiffstats
path: root/src/resp_types.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/resp_types.rs')
-rw-r--r--src/resp_types.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resp_types.rs b/src/resp_types.rs
index b51b26c..96b1626 100644
--- a/src/resp_types.rs
+++ b/src/resp_types.rs
@@ -228,6 +228,11 @@ pub struct JustUser<'a> {
}
#[derive(Deserialize, Debug)]
+pub struct JustContentHTML<'a> {
+ pub content_html: Cow<'a, str>,
+}
+
+#[derive(Deserialize, Debug)]
pub struct RespList<'a, T: std::fmt::Debug + 'a> {
pub items: Vec<T>,
pub next_page: Option<Cow<'a, str>>,