pub struct Links {
pub next: Option<String>,
}Expand description
The JSON:API pagination links on a collection response.
Only next is read: paging stops the moment Apple stops offering a
following page. self/first/prev are absent rather than ignored
because nothing here would use them, and a prev pointer invites a
caller to loop backwards through a collection that can change
underneath it.
Fields§
§next: Option<String>Absolute URL of the next page, already carrying the caller’s
include/filter/limit parameters plus a cursor.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Links
impl<'de> Deserialize<'de> for Links
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
Auto Trait Implementations§
impl Freeze for Links
impl RefUnwindSafe for Links
impl Send for Links
impl Sync for Links
impl Unpin for Links
impl UnsafeUnpin for Links
impl UnwindSafe for Links
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