pub struct CreatePackReleaseRequest {
pub pack_version: String,
pub release_notes: Option<String>,
}
Expand description
Payload for creating a new Pack release.
JSON schema
{
"description": "Payload for creating a new Pack release.",
"type": "object",
"required": [
"packVersion"
],
"properties": {
"packVersion": {
"description": "Which semantic pack version that the release will
be created on.",
"examples": [
"1.0.0"
],
"type": "string"
},
"releaseNotes": {
"description": "Developers notes.",
"examples": [
"The first release."
],
"type": "string"
}
},
"additionalProperties": false,
"x-schema-name": "CreatePackReleaseRequest"
}
Fields§
§pack_version: String
Which semantic pack version that the release will be created on.
release_notes: Option<String>
Developers notes.
Trait Implementations§
Source§impl Clone for CreatePackReleaseRequest
impl Clone for CreatePackReleaseRequest
Source§fn clone(&self) -> CreatePackReleaseRequest
fn clone(&self) -> CreatePackReleaseRequest
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 CreatePackReleaseRequest
impl Debug for CreatePackReleaseRequest
Source§impl<'de> Deserialize<'de> for CreatePackReleaseRequest
impl<'de> Deserialize<'de> for CreatePackReleaseRequest
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<&CreatePackReleaseRequest> for CreatePackReleaseRequest
impl From<&CreatePackReleaseRequest> for CreatePackReleaseRequest
Source§fn from(value: &CreatePackReleaseRequest) -> Self
fn from(value: &CreatePackReleaseRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreatePackReleaseRequest
impl RefUnwindSafe for CreatePackReleaseRequest
impl Send for CreatePackReleaseRequest
impl Sync for CreatePackReleaseRequest
impl Unpin for CreatePackReleaseRequest
impl UnwindSafe for CreatePackReleaseRequest
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