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 279c924..ec5673e 100644
--- a/src/resp_types.rs
+++ b/src/resp_types.rs
@@ -166,6 +166,11 @@ pub struct JustID {
}
#[derive(Deserialize, Debug)]
+pub struct JustStringID<'a> {
+ pub id: &'a str,
+}
+
+#[derive(Deserialize, Debug)]
pub struct RespYourFollow {
pub accepted: bool,
}