pub struct PaginationHeaders {
pub link: Option<String>,
pub x_total_count: Option<String>,
}
Fields§
§link: Option<String>
The link header contains pagination links. For details on pagination please head over to the pagination documentation. in: header
x_total_count: Option<String>
The total number of clients. in: header
Implementations§
source§impl PaginationHeaders
impl PaginationHeaders
pub fn new() -> PaginationHeaders
Trait Implementations§
source§impl Clone for PaginationHeaders
impl Clone for PaginationHeaders
source§fn clone(&self) -> PaginationHeaders
fn clone(&self) -> PaginationHeaders
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PaginationHeaders
impl Debug for PaginationHeaders
source§impl Default for PaginationHeaders
impl Default for PaginationHeaders
source§impl<'de> Deserialize<'de> for PaginationHeaders
impl<'de> Deserialize<'de> for PaginationHeaders
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for PaginationHeaders
impl PartialEq for PaginationHeaders
source§fn eq(&self, other: &PaginationHeaders) -> bool
fn eq(&self, other: &PaginationHeaders) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PaginationHeaders
impl Serialize for PaginationHeaders
impl StructuralPartialEq for PaginationHeaders
Auto Trait Implementations§
impl RefUnwindSafe for PaginationHeaders
impl Send for PaginationHeaders
impl Sync for PaginationHeaders
impl Unpin for PaginationHeaders
impl UnwindSafe for PaginationHeaders
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more