pub struct PackVersionList {
pub creation_users: Vec<UserSummary>,
pub items: Vec<PackVersion>,
pub next_page_link: Option<NextPageLink>,
pub next_page_token: Option<NextPageToken>,
}
Expand description
List of Pack versions.
JSON schema
{
"description": "List of Pack versions.",
"type": "object",
"required": [
"creationUsers",
"items"
],
"properties": {
"creationUsers": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UserSummary"
}
},
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PackVersion"
}
},
"nextPageLink": {
"allOf": [
{
"$ref": "#/components/schemas/nextPageLink"
},
{
"examples": [
"https://coda.io/apis/v1/packs/1/versions?pageToken=xyz"
],
"type": "string"
}
]
},
"nextPageToken": {
"$ref": "#/components/schemas/nextPageToken"
}
},
"additionalProperties": false,
"x-schema-name": "PackVersionList"
}
Fields§
§creation_users: Vec<UserSummary>
§items: Vec<PackVersion>
§next_page_link: Option<NextPageLink>
§next_page_token: Option<NextPageToken>
Trait Implementations§
Source§impl Clone for PackVersionList
impl Clone for PackVersionList
Source§fn clone(&self) -> PackVersionList
fn clone(&self) -> PackVersionList
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 PackVersionList
impl Debug for PackVersionList
Source§impl<'de> Deserialize<'de> for PackVersionList
impl<'de> Deserialize<'de> for PackVersionList
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<&PackVersionList> for PackVersionList
impl From<&PackVersionList> for PackVersionList
Source§fn from(value: &PackVersionList) -> Self
fn from(value: &PackVersionList) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackVersionList
impl RefUnwindSafe for PackVersionList
impl Send for PackVersionList
impl Sync for PackVersionList
impl Unpin for PackVersionList
impl UnwindSafe for PackVersionList
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