pub struct PageInfo {
pub result_per_page: Option<i32>,
pub start_index: Option<i32>,
pub total_results: Option<i32>,
}Expand description
Information about the current page. List operations that supports paging return only one “page” of results. This protocol buffer message describes the page that has been returned.
This type is not used in any activity, and only used as part of another schema.
Fields§
§result_per_page: Option<i32>Maximum number of results returned in one page. ! The number of results included in the API response.
start_index: Option<i32>Index of the first result returned in the current page.
total_results: Option<i32>Total number of results available on the backend ! The total number of results in the result set.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PageInfo
impl<'de> Deserialize<'de> for PageInfo
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
impl Part for PageInfo
Auto Trait Implementations§
impl Freeze for PageInfo
impl RefUnwindSafe for PageInfo
impl Send for PageInfo
impl Sync for PageInfo
impl Unpin for PageInfo
impl UnsafeUnpin for PageInfo
impl UnwindSafe for PageInfo
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