diff options
author | 2021-08-28 10:14:39 -0700 | |
---|---|---|
committer | 2021-08-28 17:14:39 +0000 | |
commit | c9266553610fd48a66048d9169da4703a0c71716 (patch) | |
tree | 0d65a763f646d8b213411328d56b99620123edc2 /src/models/paging.rs | |
parent | 4fa6f626a0fc571b0293d63da78ca37b4e359af1 (diff) | |
download | notion-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.rs | 4 |
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>, } |