diff options
author | 2021-09-22 14:13:05 -0700 | |
---|---|---|
committer | 2021-09-22 14:13:05 -0700 | |
commit | f34ba4d79682665603d5ce3192b5422aab3f6800 (patch) | |
tree | d2bded634af25a2bfe7e5ab817b14a5759e0f5ef /src/models/paging.rs | |
parent | 50faf778671358d70fa967735a062b4a6b6dfe64 (diff) | |
download | notion-f34ba4d79682665603d5ce3192b5422aab3f6800.tar.gz notion-f34ba4d79682665603d5ce3192b5422aab3f6800.tar.zst notion-f34ba4d79682665603d5ce3192b5422aab3f6800.zip |
feat: Paging improvements and ergonomics
Diffstat (limited to 'src/models/paging.rs')
-rw-r--r-- | src/models/paging.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/paging.rs b/src/models/paging.rs index 481c235..0f42f23 100644 --- a/src/models/paging.rs +++ b/src/models/paging.rs @@ -13,5 +13,5 @@ pub struct Paging { } pub trait Pageable { - fn start_from(self, starting_point: Paging) -> Self; + fn start_from(self, starting_point: Option<PagingCursor>) -> Self; } |