pub struct Meta {
pub total: Option<u16>,
pub skipped: Option<u16>,
pub per_page: Option<u16>,
pub page: Option<u16>,
pub page_count: Option<u16>,
pub next: Option<String>,
pub previous: Option<String>,
pub next_step: Option<String>,
}
Expand description
The Meta object is used to provide context for the contents of the data key.
Fields§
§total: Option<u16>
This is the total number of transactions that were performed by the customer.
skipped: Option<u16>
This is the number of records skipped before the first record in the array returned.
per_page: Option<u16>
This is the maximum number of records that will be returned per request.
page: Option<u16>
This is the current page being returned.
page_count: Option<u16>
This is how many pages in total are available for retrieval considering the maximum records per page specified.
next: Option<String>
§previous: Option<String>
§next_step: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Meta
impl<'de> Deserialize<'de> for Meta
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 Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnwindSafe for Meta
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