Struct aws_sdk_codebuild::types::BuildSummary
source · #[non_exhaustive]pub struct BuildSummary {
pub arn: Option<String>,
pub requested_on: Option<DateTime>,
pub build_status: Option<StatusType>,
pub primary_artifact: Option<ResolvedArtifact>,
pub secondary_artifacts: Option<Vec<ResolvedArtifact>>,
}
Expand description
Contains summary information about a batch build group.
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 batch build ARN.
requested_on: Option<DateTime>
When the build was started, expressed in Unix time format.
build_status: Option<StatusType>
The status of the build group.
- FAILED
-
The build group failed.
- FAULT
-
The build group faulted.
- IN_PROGRESS
-
The build group is still in progress.
- STOPPED
-
The build group stopped.
- SUCCEEDED
-
The build group succeeded.
- TIMED_OUT
-
The build group timed out.
primary_artifact: Option<ResolvedArtifact>
A ResolvedArtifact
object that represents the primary build artifacts for the build group.
secondary_artifacts: Option<Vec<ResolvedArtifact>>
An array of ResolvedArtifact
objects that represents the secondary build artifacts for the build group.
Implementations§
source§impl BuildSummary
impl BuildSummary
sourcepub fn requested_on(&self) -> Option<&DateTime>
pub fn requested_on(&self) -> Option<&DateTime>
When the build was started, expressed in Unix time format.
sourcepub fn build_status(&self) -> Option<&StatusType>
pub fn build_status(&self) -> Option<&StatusType>
The status of the build group.
- FAILED
-
The build group failed.
- FAULT
-
The build group faulted.
- IN_PROGRESS
-
The build group is still in progress.
- STOPPED
-
The build group stopped.
- SUCCEEDED
-
The build group succeeded.
- TIMED_OUT
-
The build group timed out.
sourcepub fn primary_artifact(&self) -> Option<&ResolvedArtifact>
pub fn primary_artifact(&self) -> Option<&ResolvedArtifact>
A ResolvedArtifact
object that represents the primary build artifacts for the build group.
sourcepub fn secondary_artifacts(&self) -> &[ResolvedArtifact]
pub fn secondary_artifacts(&self) -> &[ResolvedArtifact]
An array of ResolvedArtifact
objects that represents the secondary build artifacts for the build group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .secondary_artifacts.is_none()
.
source§impl BuildSummary
impl BuildSummary
sourcepub fn builder() -> BuildSummaryBuilder
pub fn builder() -> BuildSummaryBuilder
Creates a new builder-style object to manufacture BuildSummary
.
Trait Implementations§
source§impl Clone for BuildSummary
impl Clone for BuildSummary
source§fn clone(&self) -> BuildSummary
fn clone(&self) -> BuildSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BuildSummary
impl Debug for BuildSummary
source§impl PartialEq for BuildSummary
impl PartialEq for BuildSummary
source§fn eq(&self, other: &BuildSummary) -> bool
fn eq(&self, other: &BuildSummary) -> bool
self
and other
values to be equal, and is used
by ==
.