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