summaryrefslogtreecommitdiffstats
path: root/src/pagination.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/pagination.rs')
-rw-r--r--src/pagination.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pagination.rs b/src/pagination.rs
new file mode 100644
index 0000000..1f902b4
--- /dev/null
+++ b/src/pagination.rs
@@ -0,0 +1,7 @@
+use serde::Deserialize;
+
+#[derive(Deserialize, Debug)]
+pub struct Pagination {
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub page: Option<i64>,
+}