pub struct PageList {
pub href: Option<String>,
pub items: Vec<Page>,
pub next_page_link: Option<NextPageLink>,
pub next_page_token: Option<NextPageToken>,
}
Expand description
List of pages.
JSON schema
{
"description": "List of pages.",
"type": "object",
"required": [
"items"
],
"properties": {
"href": {
"description": "API link to these results",
"examples": [
"https://coda.io/apis/v1/docs/AbCDeFGH/pages?limit=20"
],
"type": "string",
"format": "url"
},
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Page"
}
},
"nextPageLink": {
"allOf": [
{
"$ref": "#/components/schemas/nextPageLink"
},
{
"examples": [
"https://coda.io/apis/v1/docs/AbCDeFGH/pages?pageToken=eyJsaW1pd"
],
"type": "string"
}
]
},
"nextPageToken": {
"$ref": "#/components/schemas/nextPageToken"
}
},
"additionalProperties": false,
"x-schema-name": "PageList"
}
Fields§
§href: Option<String>
API link to these results
items: Vec<Page>
§next_page_link: Option<NextPageLink>
§next_page_token: Option<NextPageToken>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PageList
impl<'de> Deserialize<'de> for PageList
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 PageList
impl RefUnwindSafe for PageList
impl Send for PageList
impl Sync for PageList
impl Unpin for PageList
impl UnwindSafe for PageList
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