aboutsummaryrefslogtreecommitdiff
path: root/src/models/paging.rs
diff options
context:
space:
mode:
authorGravatar Jake Swenson <jakeswenson@users.noreply.github.com> 2021-08-28 10:14:39 -0700
committerGravatar GitHub <noreply@github.com> 2021-08-28 17:14:39 +0000
commitc9266553610fd48a66048d9169da4703a0c71716 (patch)
tree0d65a763f646d8b213411328d56b99620123edc2 /src/models/paging.rs
parent4fa6f626a0fc571b0293d63da78ca37b4e359af1 (diff)
downloadnotion-c9266553610fd48a66048d9169da4703a0c71716.tar.gz
notion-c9266553610fd48a66048d9169da4703a0c71716.tar.zst
notion-c9266553610fd48a66048d9169da4703a0c71716.zip
Number format parsing bug. Fixes #15 (#16)
Diffstat (limited to 'src/models/paging.rs')
-rw-r--r--src/models/paging.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/models/paging.rs b/src/models/paging.rs
index 31244a2..3b97301 100644
--- a/src/models/paging.rs
+++ b/src/models/paging.rs
@@ -7,7 +7,7 @@ pub struct PagingCursor(String);
#[derive(Serialize, Debug, Eq, PartialEq, Default)]
pub struct Paging {
#[serde(skip_serializing_if = "Option::is_none")]
- start_cursor: Option<PagingCursor>,
+ pub start_cursor: Option<PagingCursor>,
#[serde(skip_serializing_if = "Option::is_none")]
- page_size: Option<u8>,
+ pub page_size: Option<u8>,
}