aboutsummaryrefslogtreecommitdiff
path: root/src/models.rs
diff options
context:
space:
mode:
authorGravatar Jake Swenson <jakeswenson@users.noreply.github.com> 2021-05-16 22:09:23 -0700
committerGravatar GitHub <noreply@github.com> 2021-05-16 22:09:23 -0700
commita2dc79a5079d6286ebd148cf25a00e5dd013efdc (patch)
tree116b8b9272174395568eaa699c5c73104e0b3c5e /src/models.rs
parentfa85eb7182471a0fa15b7268e4c9adac326756f8 (diff)
downloadnotion-a2dc79a5079d6286ebd148cf25a00e5dd013efdc.tar.gz
notion-a2dc79a5079d6286ebd148cf25a00e5dd013efdc.tar.zst
notion-a2dc79a5079d6286ebd148cf25a00e5dd013efdc.zip
chore: lots of little cleanup (#7)
Diffstat (limited to 'src/models.rs')
-rw-r--r--src/models.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/models.rs b/src/models.rs
index 4051787..f0909d9 100644
--- a/src/models.rs
+++ b/src/models.rs
@@ -76,6 +76,7 @@ impl Identifiable for Database {
}
}
+/// https://developers.notion.com/reference/pagination#responses
#[derive(Serialize, Deserialize, Eq, PartialEq, Debug, Clone)]
pub struct ListResponse<T> {
pub results: Vec<T>,