pub struct Pagination {
pub next_token: Option<String>,
pub previous_token: Option<String>,
}Expand description
Pagination : When a request produces a response that exceeds the pageSize, pagination occurs. This means the response is divided into individual pages. To retrieve the next page or the previous page, you must pass the nextToken value or the previousToken value as the pageToken parameter in the next request. When you receive the last page, there will be no nextToken key in the pagination object.
Fields§
§next_token: Option<String>A token that can be used to fetch the next page.
previous_token: Option<String>A token that can be used to fetch the previous page.
Implementations§
Source§impl Pagination
impl Pagination
Sourcepub fn new() -> Pagination
pub fn new() -> Pagination
When a request produces a response that exceeds the pageSize, pagination occurs. This means the response is divided into individual pages. To retrieve the next page or the previous page, you must pass the nextToken value or the previousToken value as the pageToken parameter in the next request. When you receive the last page, there will be no nextToken key in the pagination object.
Trait Implementations§
Source§impl Clone for Pagination
impl Clone for Pagination
Source§fn clone(&self) -> Pagination
fn clone(&self) -> Pagination
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more