pub struct CreatePackVersionRequest {
pub allow_older_sdk_version: Option<bool>,
pub notes: Option<String>,
pub source: Option<PackSource>,
}
Expand description
Payload for Pack version upload complete.
JSON schema
{
"description": "Payload for Pack version upload complete.",
"type": "object",
"properties": {
"allowOlderSdkVersion": {
"description": "Bypass Coda's protection against SDK version
regression when multiple makers build versions.",
"type": "boolean"
},
"notes": {
"description": "Developer notes of the new Pack version.",
"examples": [
"Adding a new formula HelloWorld."
],
"type": "string"
},
"source": {
"$ref": "#/components/schemas/PackSource"
}
},
"additionalProperties": false,
"x-schema-name": "CreatePackVersionRequest"
}
Fields§
§allow_older_sdk_version: Option<bool>
Bypass Coda’s protection against SDK version regression when multiple makers build versions.
notes: Option<String>
Developer notes of the new Pack version.
source: Option<PackSource>
Trait Implementations§
Source§impl Clone for CreatePackVersionRequest
impl Clone for CreatePackVersionRequest
Source§fn clone(&self) -> CreatePackVersionRequest
fn clone(&self) -> CreatePackVersionRequest
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 CreatePackVersionRequest
impl Debug for CreatePackVersionRequest
Source§impl Default for CreatePackVersionRequest
impl Default for CreatePackVersionRequest
Source§impl<'de> Deserialize<'de> for CreatePackVersionRequest
impl<'de> Deserialize<'de> for CreatePackVersionRequest
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<&CreatePackVersionRequest> for CreatePackVersionRequest
impl From<&CreatePackVersionRequest> for CreatePackVersionRequest
Source§fn from(value: &CreatePackVersionRequest) -> Self
fn from(value: &CreatePackVersionRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreatePackVersionRequest
impl RefUnwindSafe for CreatePackVersionRequest
impl Send for CreatePackVersionRequest
impl Sync for CreatePackVersionRequest
impl Unpin for CreatePackVersionRequest
impl UnwindSafe for CreatePackVersionRequest
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