Struct aws_sdk_robomaker::types::DeploymentJob
source · #[non_exhaustive]pub struct DeploymentJob {
pub arn: Option<String>,
pub fleet: Option<String>,
pub status: Option<DeploymentStatus>,
pub deployment_application_configs: Option<Vec<DeploymentApplicationConfig>>,
pub deployment_config: Option<DeploymentConfig>,
pub failure_reason: Option<String>,
pub failure_code: Option<DeploymentJobErrorCode>,
pub created_at: Option<DateTime>,
}Expand description
Information about a deployment job.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.arn: Option<String>The Amazon Resource Name (ARN) of the deployment job.
fleet: Option<String>The Amazon Resource Name (ARN) of the fleet.
status: Option<DeploymentStatus>The status of the deployment job.
deployment_application_configs: Option<Vec<DeploymentApplicationConfig>>The deployment application configuration.
deployment_config: Option<DeploymentConfig>The deployment configuration.
failure_reason: Option<String>A short description of the reason why the deployment job failed.
failure_code: Option<DeploymentJobErrorCode>The deployment job failure code.
created_at: Option<DateTime>The time, in milliseconds since the epoch, when the deployment job was created.
Implementations§
source§impl DeploymentJob
impl DeploymentJob
sourcepub fn status(&self) -> Option<&DeploymentStatus>
pub fn status(&self) -> Option<&DeploymentStatus>
The status of the deployment job.
sourcepub fn deployment_application_configs(&self) -> &[DeploymentApplicationConfig]
pub fn deployment_application_configs(&self) -> &[DeploymentApplicationConfig]
The deployment application configuration.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .deployment_application_configs.is_none().
sourcepub fn deployment_config(&self) -> Option<&DeploymentConfig>
pub fn deployment_config(&self) -> Option<&DeploymentConfig>
The deployment configuration.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
A short description of the reason why the deployment job failed.
sourcepub fn failure_code(&self) -> Option<&DeploymentJobErrorCode>
pub fn failure_code(&self) -> Option<&DeploymentJobErrorCode>
The deployment job failure code.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time, in milliseconds since the epoch, when the deployment job was created.
source§impl DeploymentJob
impl DeploymentJob
sourcepub fn builder() -> DeploymentJobBuilder
pub fn builder() -> DeploymentJobBuilder
Creates a new builder-style object to manufacture DeploymentJob.
Trait Implementations§
source§impl Clone for DeploymentJob
impl Clone for DeploymentJob
source§fn clone(&self) -> DeploymentJob
fn clone(&self) -> DeploymentJob
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeploymentJob
impl Debug for DeploymentJob
source§impl PartialEq for DeploymentJob
impl PartialEq for DeploymentJob
source§fn eq(&self, other: &DeploymentJob) -> bool
fn eq(&self, other: &DeploymentJob) -> bool
self and other values to be equal, and is used
by ==.