pub struct GetNextPackVersionRequest {
pub proposed_metadata: String,
pub sdk_version: Option<String>,
}
Expand description
Payload for getting the next version of a Pack.
JSON schema
{
"description": "Payload for getting the next version of a Pack.",
"type": "object",
"required": [
"proposedMetadata"
],
"properties": {
"proposedMetadata": {
"description": "The metadata for the next version of the Pack.",
"examples": [
"{\"formulas\": [{\"description\": \"my formula\", \"name\":
\"foo\", \"parameters\": [], \"resultType\": 0}]}"
],
"type": "string"
},
"sdkVersion": {
"description": "The SDK version the metadata was built on.",
"examples": [
"1.0.0"
],
"type": "string"
}
},
"additionalProperties": false,
"x-schema-name": "GetNextPackVersionRequest"
}
Fields§
§proposed_metadata: String
The metadata for the next version of the Pack.
sdk_version: Option<String>
The SDK version the metadata was built on.
Trait Implementations§
Source§impl Clone for GetNextPackVersionRequest
impl Clone for GetNextPackVersionRequest
Source§fn clone(&self) -> GetNextPackVersionRequest
fn clone(&self) -> GetNextPackVersionRequest
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 GetNextPackVersionRequest
impl Debug for GetNextPackVersionRequest
Source§impl<'de> Deserialize<'de> for GetNextPackVersionRequest
impl<'de> Deserialize<'de> for GetNextPackVersionRequest
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<&GetNextPackVersionRequest> for GetNextPackVersionRequest
impl From<&GetNextPackVersionRequest> for GetNextPackVersionRequest
Source§fn from(value: &GetNextPackVersionRequest) -> Self
fn from(value: &GetNextPackVersionRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetNextPackVersionRequest
impl RefUnwindSafe for GetNextPackVersionRequest
impl Send for GetNextPackVersionRequest
impl Sync for GetNextPackVersionRequest
impl Unpin for GetNextPackVersionRequest
impl UnwindSafe for GetNextPackVersionRequest
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