pub struct CreateReleaseRequest {
pub git_metadata: Option<GitMetadata>,
pub project_id: String,
pub stack: StackByPlatform,
}Expand description
CreateReleaseRequest
JSON schema
{
"type": "object",
"required": [
"projectId",
"stack"
],
"properties": {
"gitMetadata": {
"$ref": "#/components/schemas/GitMetadata"
},
"projectId": {
"description": "Project this release belongs to. Required. The standalone server\nuses the canonical value `\"default\"`.\n\nThe OSS CLI sends this field as `project` on `alien release`\n(see `alien-cli` release flow); the underlying alien-managerx\nrelease endpoint accepts both forms. Accept both here too so\n`alien release` against an OSS standalone manager doesn't fail\nat the schema layer with a confusing\n`unknown field \"project\", expected \"projectId\"`.",
"type": "string"
},
"stack": {
"$ref": "#/components/schemas/StackByPlatform"
}
},
"additionalProperties": false
}Fields§
§git_metadata: Option<GitMetadata>§project_id: StringProject this release belongs to. Required. The standalone server
uses the canonical value "default".
The OSS CLI sends this field as project on alien release
(see alien-cli release flow); the underlying alien-managerx
release endpoint accepts both forms. Accept both here too so
alien release against an OSS standalone manager doesn’t fail
at the schema layer with a confusing
unknown field "project", expected "projectId".
stack: StackByPlatformImplementations§
Source§impl CreateReleaseRequest
impl CreateReleaseRequest
pub fn builder() -> CreateReleaseRequest
Trait Implementations§
Source§impl Clone for CreateReleaseRequest
impl Clone for CreateReleaseRequest
Source§fn clone(&self) -> CreateReleaseRequest
fn clone(&self) -> CreateReleaseRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateReleaseRequest
impl Debug for CreateReleaseRequest
Source§impl<'de> Deserialize<'de> for CreateReleaseRequest
impl<'de> Deserialize<'de> for CreateReleaseRequest
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<&CreateReleaseRequest> for CreateReleaseRequest
impl From<&CreateReleaseRequest> for CreateReleaseRequest
Source§fn from(value: &CreateReleaseRequest) -> Self
fn from(value: &CreateReleaseRequest) -> Self
Converts to this type from the input type.
Source§impl From<CreateReleaseRequest> for CreateReleaseRequest
impl From<CreateReleaseRequest> for CreateReleaseRequest
Source§fn from(value: CreateReleaseRequest) -> Self
fn from(value: CreateReleaseRequest) -> Self
Converts to this type from the input type.
Source§impl Serialize for CreateReleaseRequest
impl Serialize for CreateReleaseRequest
Source§impl TryFrom<CreateReleaseRequest> for CreateReleaseRequest
impl TryFrom<CreateReleaseRequest> for CreateReleaseRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CreateReleaseRequest) -> Result<Self, ConversionError>
fn try_from(value: CreateReleaseRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CreateReleaseRequest
impl RefUnwindSafe for CreateReleaseRequest
impl Send for CreateReleaseRequest
impl Sync for CreateReleaseRequest
impl Unpin for CreateReleaseRequest
impl UnsafeUnpin for CreateReleaseRequest
impl UnwindSafe for CreateReleaseRequest
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