pub struct PackVersion {
pub build_notes: String,
pub created_at: DateTime<Utc>,
pub creation_user_login_id: String,
pub pack_id: f64,
pub pack_version: String,
pub release_id: Option<f64>,
pub sdk_version: Option<String>,
pub source: Option<PackSource>,
}
Expand description
Details about a Pack version.
JSON schema
{
"description": "Details about a Pack version.",
"type": "object",
"required": [
"buildNotes",
"createdAt",
"creationUserLoginId",
"packId",
"packVersion"
],
"properties": {
"buildNotes": {
"description": "Developer notes.",
"examples": [
"Adding a new formula."
],
"type": "string"
},
"createdAt": {
"description": "Timestamp for when the version was created.",
"examples": [
"2018-04-11T00:18:57.946Z"
],
"type": "string",
"format": "date-time"
},
"creationUserLoginId": {
"description": "The login ID of creation user of the Pack
version.",
"examples": [
"api@coda.io"
],
"type": "string"
},
"packId": {
"description": "ID of the Pack.",
"examples": [
1003
],
"type": "number"
},
"packVersion": {
"description": "The semantic format of the Pack version.",
"examples": [
"1.0.3"
],
"type": "string"
},
"releaseId": {
"description": "The release number of the Pack version if it has
one.",
"examples": [
2
],
"type": "number"
},
"sdkVersion": {
"description": "What Packs SDK version was this version built on.",
"examples": [
"1.5.1"
],
"type": "string"
},
"source": {
"$ref": "#/components/schemas/PackSource"
}
},
"additionalProperties": false,
"x-schema-name": "PackVersion"
}
Fields§
§build_notes: String
Developer notes.
created_at: DateTime<Utc>
Timestamp for when the version was created.
creation_user_login_id: String
The login ID of creation user of the Pack version.
pack_id: f64
§pack_version: String
The semantic format of the Pack version.
release_id: Option<f64>
§sdk_version: Option<String>
What Packs SDK version was this version built on.
source: Option<PackSource>
Trait Implementations§
Source§impl Clone for PackVersion
impl Clone for PackVersion
Source§fn clone(&self) -> PackVersion
fn clone(&self) -> PackVersion
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 PackVersion
impl Debug for PackVersion
Source§impl<'de> Deserialize<'de> for PackVersion
impl<'de> Deserialize<'de> for PackVersion
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<&PackVersion> for PackVersion
impl From<&PackVersion> for PackVersion
Source§fn from(value: &PackVersion) -> Self
fn from(value: &PackVersion) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackVersion
impl RefUnwindSafe for PackVersion
impl Send for PackVersion
impl Sync for PackVersion
impl Unpin for PackVersion
impl UnwindSafe for PackVersion
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