PagingLinkHeader

Trait PagingLinkHeader 

Source
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§

Build the link header, based on the request url.

Implementors§

Source§

impl PagingLinkHeader for CursorPagination

Available on crate feature actix only.
Source§

impl PagingLinkHeader for PagePagination

Available on crate feature actix only.