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