pub struct PageContentList {
pub href: String,
pub items: Vec<PageContentItem>,
pub next_page_link: Option<NextPageLink>,
pub next_page_token: Option<NextPageToken>,
}Expand description
List of page content elements.
JSON schema
{
"description": "List of page content elements.",
"type": "object",
"required": [
"href",
"items"
],
"properties": {
"href": {
"description": "API link to these results",
"examples": [
"https://coda.io/apis/v1/docs/AbCDeFGH/pages/canvas-IjkLmnO/content?limit=20"
],
"type": "string",
"format": "url"
},
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PageContentItem"
}
},
"nextPageLink": {
"allOf": [
{
"$ref": "#/components/schemas/nextPageLink"
},
{
"examples": [
"https://coda.io/apis/v1/docs/AbCDeFGH/pages/canvas-IjkLmnO/content?pageToken=eyJsaW1pd"
],
"type": "string"
}
]
},
"nextPageToken": {
"$ref": "#/components/schemas/nextPageToken"
}
},
"additionalProperties": false,
"x-schema-name": "PageContentList"
}Fields§
§href: StringAPI link to these results
items: Vec<PageContentItem>§next_page_link: Option<NextPageLink>§next_page_token: Option<NextPageToken>Trait Implementations§
Source§impl Clone for PageContentList
impl Clone for PageContentList
Source§fn clone(&self) -> PageContentList
fn clone(&self) -> PageContentList
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PageContentList
impl Debug for PageContentList
Source§impl<'de> Deserialize<'de> for PageContentList
impl<'de> Deserialize<'de> for PageContentList
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
Source§impl From<&PageContentList> for PageContentList
impl From<&PageContentList> for PageContentList
Source§fn from(value: &PageContentList) -> Self
fn from(value: &PageContentList) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PageContentList
impl RefUnwindSafe for PageContentList
impl Send for PageContentList
impl Sync for PageContentList
impl Unpin for PageContentList
impl UnwindSafe for PageContentList
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