eio_okta_api/traits/pagination.rs
1use serde::{de::DeserializeOwned, Serialize};
2
3pub trait Pagination {
4 const HEADER: http::header::HeaderName = http::header::LINK;
5 const LIMIT: usize = 200;
6 const QUERY: &'static str = "after";
7 const REL: &'static str = "next";
8 type Item: Clone + Serialize + DeserializeOwned + std::fmt::Debug;
9}