pub struct Metadata {
pub count: Option<f64>,
pub next: Option<String>,
pub prev: Option<String>,
pub self_: Option<String>,
}
Fields
count: Option<f64>
The number of items in the entire list, i.e., across all pages.
next: Option<String>
The URL of the next page of results. If this field isn’t present, you’re at the end of the list.
prev: Option<String>
The URL of the previous page of results. If this field isn’t present, you’re at the start of the list.
self_: Option<String>
The URL of the current page of results.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Metadata
impl<'de> Deserialize<'de> for Metadata
sourcefn 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 RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more