diff --git a/dropshot/src/pagination.rs b/dropshot/src/pagination.rs index a8a23648..1c7e59f5 100644 --- a/dropshot/src/pagination.rs +++ b/dropshot/src/pagination.rs @@ -237,7 +237,7 @@ where /// Consumers should use /// [`RequestContext`][crate::handler::RequestContext::page_limit()] /// to access this value. - pub(crate) limit: Option, + pub limit: Option, } pub(crate) const PAGINATION_PARAM_SENTINEL: &str = @@ -420,8 +420,8 @@ enum PaginationVersion { /// Parts of the pagination token that actually get serialized #[derive(Debug, Deserialize, Serialize)] struct SerializedToken { - v: PaginationVersion, - page_start: PageSelector, + pub v: PaginationVersion, + pub page_start: PageSelector, } /// Construct a serialized page token from a consumer's page selector