pub trait PagingLinkHeader {
// Required method
fn build_paging_link_header(&self, url: &Url) -> HeaderValue;
}Expand description
A trait to implement for types that can build a Link header for a HTTP response.
Required Methods§
Sourcefn build_paging_link_header(&self, url: &Url) -> HeaderValue
fn build_paging_link_header(&self, url: &Url) -> HeaderValue
Build the link header, based on the request url.
Implementors§
impl PagingLinkHeader for CursorPagination
Available on crate feature
actix only.impl PagingLinkHeader for PagePagination
Available on crate feature
actix only.