pub struct DeploymentResponse {Show 20 fields
pub created_at: String,
pub current_release_id: Option<String>,
pub deployment_group: Option<DeploymentGroupMinimal>,
pub deployment_group_id: String,
pub deployment_protocol_version: i32,
pub desired_release_id: Option<String>,
pub environment_info: Option<Value>,
pub error: Option<Value>,
pub id: String,
pub import_source: Option<ImportSourceKind>,
pub name: String,
pub platform: Platform,
pub project_id: String,
pub retry_requested: bool,
pub runtime_metadata: Option<Value>,
pub stack_settings: Option<Value>,
pub stack_state: Option<Value>,
pub status: String,
pub updated_at: Option<String>,
pub workspace_id: String,
}Expand description
DeploymentResponse
JSON schema
{
"type": "object",
"required": [
"createdAt",
"deploymentGroupId",
"deploymentProtocolVersion",
"id",
"name",
"platform",
"projectId",
"retryRequested",
"status",
"workspaceId"
],
"properties": {
"createdAt": {
"type": "string"
},
"currentReleaseId": {
"type": [
"string",
"null"
]
},
"deploymentGroup": {
"$ref": "#/components/schemas/DeploymentGroupMinimal"
},
"deploymentGroupId": {
"type": "string"
},
"deploymentProtocolVersion": {
"description": "Required by the platform-SDK Deployment schema. Hard-coded to\nalien-core's `CURRENT_DEPLOYMENT_PROTOCOL_VERSION` so the CLI\naccepts the response.",
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"desiredReleaseId": {
"type": [
"string",
"null"
]
},
"environmentInfo": {},
"error": {},
"id": {
"type": "string"
},
"importSource": {
"$ref": "#/components/schemas/ImportSourceKind"
},
"name": {
"type": "string"
},
"platform": {
"$ref": "#/components/schemas/Platform"
},
"projectId": {
"description": "Required by the platform-SDK Deployment schema. Standalone is\nsingle-tenant; reuse the same synthetic project id used in the\ndeployment-groups route.",
"type": "string"
},
"retryRequested": {
"type": "boolean"
},
"runtimeMetadata": {},
"stackSettings": {},
"stackState": {},
"status": {
"type": "string"
},
"updatedAt": {
"type": [
"string",
"null"
]
},
"workspaceId": {
"description": "Required by the platform-SDK Deployment schema.",
"type": "string"
}
}
}Fields§
§created_at: String§current_release_id: Option<String>§deployment_group: Option<DeploymentGroupMinimal>§deployment_group_id: String§deployment_protocol_version: i32Required by the platform-SDK Deployment schema. Hard-coded to
alien-core’s CURRENT_DEPLOYMENT_PROTOCOL_VERSION so the CLI
accepts the response.
desired_release_id: Option<String>§environment_info: Option<Value>§error: Option<Value>§id: String§import_source: Option<ImportSourceKind>§name: String§platform: Platform§project_id: StringRequired by the platform-SDK Deployment schema. Standalone is single-tenant; reuse the same synthetic project id used in the deployment-groups route.
retry_requested: bool§runtime_metadata: Option<Value>§stack_settings: Option<Value>§stack_state: Option<Value>§status: String§updated_at: Option<String>§workspace_id: StringRequired by the platform-SDK Deployment schema.
Implementations§
Source§impl DeploymentResponse
impl DeploymentResponse
pub fn builder() -> DeploymentResponse
Trait Implementations§
Source§impl Clone for DeploymentResponse
impl Clone for DeploymentResponse
Source§fn clone(&self) -> DeploymentResponse
fn clone(&self) -> DeploymentResponse
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 DeploymentResponse
impl Debug for DeploymentResponse
Source§impl<'de> Deserialize<'de> for DeploymentResponse
impl<'de> Deserialize<'de> for DeploymentResponse
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<&DeploymentResponse> for DeploymentResponse
impl From<&DeploymentResponse> for DeploymentResponse
Source§fn from(value: &DeploymentResponse) -> Self
fn from(value: &DeploymentResponse) -> Self
Converts to this type from the input type.
Source§impl From<DeploymentResponse> for DeploymentResponse
impl From<DeploymentResponse> for DeploymentResponse
Source§fn from(value: DeploymentResponse) -> Self
fn from(value: DeploymentResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for DeploymentResponse
impl Serialize for DeploymentResponse
Source§impl TryFrom<DeploymentResponse> for DeploymentResponse
impl TryFrom<DeploymentResponse> for DeploymentResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DeploymentResponse) -> Result<Self, ConversionError>
fn try_from(value: DeploymentResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DeploymentResponse
impl RefUnwindSafe for DeploymentResponse
impl Send for DeploymentResponse
impl Sync for DeploymentResponse
impl Unpin for DeploymentResponse
impl UnsafeUnpin for DeploymentResponse
impl UnwindSafe for DeploymentResponse
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